(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/tenant/components/free-field-component/free-field-component.html','<div class="ares-main-content free-field-content" ares-clean-kendo>    <style scoped>        .free-field-content {            margin-top: 10px;            width: 100%;            height: 350px;        }            .free-field-content .content-center .enabled-btn {                border: 1px solid #ECECEC;                background-color: #FFFFFF;                cursor: pointer;            }            .free-field-content .content-center .disabled-btn {                border: 1px solid #ECECEC;                background-color: #FFFFFF;                cursor: not-allowed;                background-color: #eee;            }            .free-field-content .content-center .enabled-btn:hover {                border: 1px solid #BEE5EC;                cursor: pointer;                color: #BEE5EC;            }            .free-field-content li {                list-style: none;                width: 98%;                height: 31px;                line-height: 26px;                text-align: left;                padding-left: 10px;                border: 1px solid #F7F7F7;                cursor:pointer;            }                .free-field-content li:hover {                    background: #cfdbdd;                    border-radius: 20px;                    cursor: pointer;                    border: 1px solid #cfdbdd;                }            .free-field-content .selected {                background: #e0faff;                border: 1px solid #00a6c9;                border-radius: 20px;                color: #00a6c9;            }            .free-field-content .content-left,            .free-field-content .content-center,            .free-field-content .content-right {                float: left;                height: 350px;                background-color: #f3f7f7;            }            .free-field-content .content-left {                width: 45%;                border: 1px solid #E6E6E6;            }            .free-field-content .top {                background-color: #f3f7f7;                height: 40px;                padding: 10px 10px 0 20px;            }            .free-field-content .body {                height: 310px;                overflow-y: auto;                background-color: #f3f7f7;                text-align: center;                width: 100%;                float: left;            }                .free-field-content .body ul {                    margin: 0 auto;                    width: 90%;                    padding-bottom: 10px;                }            .free-field-content .content-center {                width: 10%;                text-align: center;                background: #cfdbdd;                padding-top: 80px;            }                .free-field-content .content-center button {                    background: #f3f7f7;                    border: 1px solid #cfdbdd;                    width: 38px;                    height: 29px;                    border-radius: unset;                    margin-bottom: 10px;                }            .free-field-content .content-right {                width: 45%;                border: 1px solid #E6E6E6;            }    </style>    <div style="width: 100%;height: 30px;">        <div style="float:left;background:#00a6c9;border-radius:2px;width:6px;height:23px;background-color:#00a6c9;"></div>        <span style="float:left;margin-left:5px;font-size:18px;color:#575d6a;">{{fieldTitle}}</span>    </div>    <div class="content-left">        <div class="top">            <span style="float:left;font-size:16px;color:#575d6a;">未应用</span>        </div>        <div class="body">            <ul>                <li ng-repeat="field in freeFields | filter : {isInUse : false}" ng-click="setThisSelected($event,field)" ng-class="field.fieldCode.toLowerCase()==selectedItem.fieldCode.toLowerCase()?\'selected\':\'\'">                    <div style="float:left;width:80%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">{{field.fieldName}}</div>                </li>            </ul>        </div>    </div>    <div class="content-center">        <button ng-class="(isEditable&&moveRightBtnState)?\'enabled-btn\':\'disabled-btn\'" ng-click="changeFieldEnabled(true)" ng-disabled="!isEditable">></button><br />        <button ng-class="(isEditable&&moveLeftBtnState)?\'enabled-btn\':\'disabled-btn\'" ng-click="changeFieldEnabled(false)" ng-disabled="!isEditable" ><</button><br />        <button ng-class="(isEditable&&moveRightMultiBtnState)?\'enabled-btn\':\'disabled-btn\'" ng-click="changeThisTypeFieldsEnabled(true)" style="margin-top:10px;" ng-disabled="!isEditable" >>></button><br />        <button ng-class="(isEditable&&moveLeftMultiBtnState)?\'enabled-btn\':\'disabled-btn\'" ng-click="changeThisTypeFieldsEnabled(false)" ng-disabled="!isEditable" ><<</button>    </div>    <div class="content-right">        <div class="top">            <span style="float:left;font-size:16px;color:#575d6a;">已应用</span>        </div>        <div class="body">            <ul>                <li class="clearfix" ng-repeat="field in freeFields | filter : {isInUse : true}" ng-click="setThisSelected($event,field)" ng-class="field.fieldName==selectedItem.fieldName?\'selected\':\'\'">                    <div  style="float:left;width:80%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">{{field.fieldName}}</div>                    <div style="float:right;margin-right:10px;">                        <div class="iconfont icon-bianji" ng-click="editFreeField(field);">&nbsp;</div>                    </div>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/tenant/components/free-field-component/free-field-edit-dialog.html','<div class="free-filed-edit-dialog" ares-modal-dragable ares-clean-kendo>    <style>        #mainForm input, select {            max-width: 250px;        }        .ares-dialog-header {            background: #00a6c9 !important;            border-radius: unset !important;            padding: 5px 10px 5px 10px !important;            color: white !important;            height: 35px !important;        }        .lc-btn-primary:hover {            color: #fff !important;            background-color: #008fae !important;            border-color: #008fae !important;        }        .free-filed-edit-dialog .modal-body {            max-height: 400px;            overflow-y: auto;            overflow-x: hidden;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">自由项配置</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left: 2px solid #00a6c9;border-right: 2px solid #00a6c9;">        <form id="mainForm" name="mainForm" class="form-horizontal">            <div class="form-group">                <label for="freeFieldName" class="control-label col-sm-3">名称</label>                <div class="col-sm-9 input-container">                    <input class="form-control" id="freeFieldName" name="freeFieldName" ng-model="freeField.fieldName" ng-disabled="!isEditable" />                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-3"></label>                <div class="col-sm-9" style="margin-top: 5px">                    <label class="checkbox inline" style="display:inline;margin-left:20px">                        <input type="radio" name="status" id="active" ng-model="freeField.inputType" ng-value="0" ng-disabled="!isEditable"> 文本输入                    </label>                    <label class="checkbox inline" style="display: inline; margin-left: 20px">                        <input type="radio" name="status" id="inactive" ng-model="freeField.inputType" ng-value="1" ng-disabled="!isEditable"> 单选项                    </label>                </div>            </div>            <div class="form-group" ng-show="freeField.inputType==0" style="margin-bottom:0;">                <label for="inputTip" class="control-label col-sm-3">文本描述</label>                <div class="col-sm-9 input-container" style="height:35px;">                    <input class="form-control" style="padding-right:20px;" id="inputTip" name="inputTip" placeholder="文本输入框描述（选填）" ng-model="freeField.inputTip" ng-disabled="!isEditable" />                </div>            </div>            <div class="form-group" ng-show="freeField.inputType==1" style="margin-bottom:0;" ng-repeat="dropDown in dropDownValues">                <label for="fieldValue" class="control-label col-sm-3">选项{{$index+1}}</label>                <div class="col-sm-9 input-container" style="height:35px;">                    <input class="form-control" id="fieldValue" name="fieldValue" placeholder="选项名称" ng-blur="onFieldValueInputBlur(dropDown.value)" ng-model="dropDown.value" ng-disabled="!isEditable" />                    <i class="iconfont icon-shanchu" ng-show="dropDown.isShowDeleteBtn && isEditable" ng-click="removeValueItem($index)" style="position: relative;right: -230px;top: -28px;cursor:pointer;"></i>                </div>            </div>            <div style="height: 35px;padding-top:10px;padding-right:40px;" ng-show="isEditable">                <span ng-show="freeField.inputType==1 && isShowAddBtn" style="float: right;cursor: pointer; position: relative;color:#00a6c9;" ng-click="addDropDownValue()">                    <span class="iconfont icon-jinakangbaoicons19" style="cursor:pointer;"></span>                    <span style="cursor:pointer;">&nbsp;添加选项</span>                </span>            </div>            <div class="form-group" style="margin-bottom:0;" ng-if="freeField.targetType == 1||freeField.targetType == 3">                <label for="inputTip" class="control-label col-sm-3">是否必填</label>                <div class="col-sm-2 input-container" style="height:35px;margin-top:8px;">                    <input type="checkbox"                           class="enyo-checkbox-switcher sm"                           ng-model="freeField.isRequired"                           id="chkIsRequired">                    <label class="enyo-checkbox-switcher-label"                           for="chkIsRequired"                           style="min-width:100px;">                        {{freeField.isRequired?\'启用\':\'不启用\'}}                    </label>                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border: 2px solid #00a6c9;border-top: none;background:#f3f7f7;text-align:center;">        <button type="button" class="lc-btn lc-btn-primary sure-btn" style="border-radius: unset;background:#00a6c9;" ng-click="save()" ng-show="isEditable">确定</button>        <button type="button" class="lc-btn sure-btn" style="border-radius: unset;background-color:white;border:1px solid #e3e3e3;" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/tenant/components/office-setting-appt-business-rule/office-setting-appt-business-rule-view.html','<div class="office-setting-appt-business-rule">    <h3 class="office-setting-title">        预约配置    </h3>    <div class="office-setting-content">        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">预约提醒服务</span>                    <span class="glyphicon glyphicon-question-sign content-block-title-description block-row-cell"                          tooltip="启用预约短信提醒服务之后，系统会根据设置，自动提前（默认提前一天）发送预约提醒短信到患者预留的手机号码。（短信功能会根据用量收费）。"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isReminderServiceEnabled">                    </office-setting-edit-switch>                </div>            </div>            <div class="content-block-extend" ng-show="officeSetting.isReminderServiceEnabled">                <div class="block-row">                    <div class="block-row-cell" style="margin-right:15px;">                        <label>提前</label>                        <input id="reminderDayOffset" style="width: 60px;" kendo-numeric-text-box                               k-min="1" k-max="30" k-step="1" k-options="{format: \'#\', decimals:0}"                               k-ng-model="officeSetting.reminderDayOffset" />                        <label style="display:inline">天</label>                    </div>                    <div class="block-row-cell" style="margin-right:15px;">                        <label>开始时间:</label>                        <input id="reminderStartTime" style="width: 80px;" kendo-time-picker                               k-min="\'10:00\'" k-max="\'20:00\'" k-format="\'HH:mm\'" k-change="reminderStartTimeChange"                               k-interval="30" ng-model="officeSetting.reminderStartTime" />                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:15px;" ng-show="isWxClinic">                        <input class="office-setting-checkbox" type="checkbox"                               name="isOnlyWeixinReminder" id="isOnlyWeixinReminderCheckbox"                               ng-model="officeSetting.isOnlyWeixinReminder">                        <label class="office-setting-checkbox-label"                               for="isOnlyWeixinReminderCheckbox"                               title="注意：此功能需要开通SCRM才起作用">                            对微信患者不发送短信                        </label>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">预约短信模版</span>                </div>            </div>            <div class="content-block-extend">                <div class="block-row">                    <label class="block-row-cell control-label" style="width:130px;margin-right:20px;">默认模版：</label>                    <input id="shortMessageTemplate" disabled="disabled"                           type="text" class="form-control block-row-cell"                           style="width:180px;margin-right:20px;">                    <span class="glyphicon glyphicon-question-sign block-row-cell"                          tooltip="{{defaultTemplate.shortMessageTemplate.content}}"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                    <a class="block-row-cell" id="addShortMessageTemplate" href=""                       ng-click="onAddShortMessageTemplate()" ng-show="officeSetting.isReminderServiceEnabled"                       disabled="disabled">添加特殊模版</a>                </div>                <div class="block-row" style="line-height:35px;" ng-repeat=" item in shortMessageTemplates"                     ng-show="officeSetting.isReminderServiceEnabled">                    <input class="block-row-cell form-control" id="patientType{{$index}}" type="text" style="width:130px;margin-right:20px;">                    <input class="block-row-cell form-control" id="shortMessageTemplate{{$index}}" type="text" style="width:180px;margin-right:20px;">                    <span class="glyphicon glyphicon-question-sign block-row-cell"                          tooltip="{{item.shortMessageTemplate.content}}"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                    <a class="block-row-cell" href="" ng-click="onDelShortMessageTemplate($index)">删除</a>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">满意度回访服务</span>                    <span class="glyphicon glyphicon-question-sign content-block-title-description block-row-cell"                          tooltip="启用满意度回访服务之后，系统会根据设置，发送满意度回访服务短信到患者预留的手机号码。（短信功能会根据用量收费）。"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isApptSurveyEnabled">                    </office-setting-edit-switch>                </div>            </div>            <div class="content-block-extend" ng-show="officeSetting.isApptSurveyEnabled">                <div class="block-row">                    <label class="block-row-cell" style="margin-right:20px;">触发条件:</label>                    <select id="chargeTypeInput" class="form-control block-row-cell"                            style="width: 130px; padding: 3px 6px; display: initial;"                            ng-model="officeSetting.apptSurveyDefaultTrigger">                        <option value="0">已离开</option>                        <option value="1">治疗完成</option>                        <option value="2">已结账</option>                    </select>                </div>                <div class="block-row" ng-show="officeSetting.isApptSurveyEnabled">                    <label class="block-row-cell" style="margin-right:20px;vertical-align:top;line-height:34px;">发送渠道:</label>                    <div class="block-row-cell" style="vertical-align:top;">                        <div class="block-row">                            <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                                <input class="office-setting-checkbox" type="checkbox"                                       name="isSendMessageApptSurvey" id="isSendMessageApptSurvey"                                       ng-change="sendWeixinApptSurveyChange()"                                       ng-model="officeSetting.isSendMessageApptSurvey">                                <label class="office-setting-checkbox-label"                                       for="isSendMessageApptSurvey">                                    短信                                </label>                            </div>                            <div class="block-row-cell">                                <label>短信模板</label>                                <input id="apptSurveyTemplate" type="text" class="form-control" style="width:160px;display:inline;"                                       disabled="disabled" ng-model="officeSetting.apptSurveyTemplateId">                            </div>                        </div>                        <div class="block-row" ng-show="isWxClinic" style="margin-bottom:0;">                            <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                                <input class="office-setting-checkbox" type="checkbox"                                       name="isSendWeixinApptSurvey" id="isSendMessageApptSurvey"                                       ng-change="sendWeixinApptSurveyChange()"                                       title="注意：此功能需要开通SCRM才起作用"                                       ng-model="officeSetting.isSendWeixinApptSurvey">                                <label class="office-setting-checkbox-label"                                       for="isSendWeixinApptSurvey">                                    发送微信通知                                </label>                            </div>                            <div class="office-setting-checkbox-wrap block-row-cell">                                <input class="office-setting-checkbox" type="checkbox"                                       name="isSendMessageApptSurvey" id="isOnlyWeixinApptSurvey"                                       title="注意：此功能需要开通SCRM才起作用"                                       ng-disabled="(!officeSetting.isSendWeixinApptSurvey||!officeSetting.isSendMessageApptSurvey)"                                       ng-model="officeSetting.isOnlyWeixinApptSurvey">                                <label class="office-setting-checkbox-label"                                       for="isOnlyWeixinApptSurvey">                                    对微信患者不发送短信                                </label>                            </div>                        </div>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">是否启用语音提醒</span>                </div>            </div>            <div class="content-block-extend">                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isEnableCheckInNotifyDoctor" id="isEnableCheckInNotifyDoctor"                               ng-model="officeSetting.isEnableCheckInNotifyDoctor">                        <label class="office-setting-checkbox-label"                               for="isEnableCheckInNotifyDoctor">                            挂号通知医生                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isOpenSpeechCall" id="isOpenSpeechCall"                               ng-model="officeSetting.isOpenSpeechCall">                        <label class="office-setting-checkbox-label"                               for="isOpenSpeechCall">                            接诊语音叫号                        </label>                    </div>                    <div class="block-row-cell" ng-show="officeSetting.isOpenSpeechCall">                        <label style="display:inline;">重复</label>                        <input id="speechCallTimes" style="width: 60px;" kendo-numeric-text-box                               k-min="1" k-max="3" k-step="1" k-options="{format: \'#\', decimals:0}"                               k-ng-model="officeSetting.speechCallTimes" />                        <label style="display:inline">次</label>                    </div>                </div>                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isEnableCompleteNotifyFront" id="isEnableCompleteNotifyFront"                               ng-model="officeSetting.isEnableCompleteNotifyFront">                        <label class="office-setting-checkbox-label"                               for="isEnableCompleteNotifyFront">                            治疗完成通知前台                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isEnableChargeNotifyFront" id="isEnableChargeNotifyFront"                               ng-model="officeSetting.isEnableChargeNotifyFront">                        <label class="office-setting-checkbox-label"                               for="isEnableChargeNotifyFront">                            划价通知前台                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isEnableChargeCompleteNotifyDoctor" id="isEnableChargeCompleteNotifyDoctor"                               ng-model="officeSetting.isEnableChargeCompleteNotifyDoctor">                        <label class="office-setting-checkbox-label"                               for="isEnableChargeCompleteNotifyDoctor">                            收费完成通知医生                        </label>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">叫号</span>                </div>                <div class="setting-content-block-switch">                    <ares-switch on-label="叫号到诊室"                                 off-label="叫号到科室"                                 value="officeSetting.speechCallMode"></ares-switch>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">自动失约服务</span>                    <span class="glyphicon glyphicon-question-sign content-block-title-description block-row-cell"                          tooltip="启用自动失约之后，系统会在每天将前一天没有挂号，并且没有任何就诊数据产生（病历，收费，处方，随访等）的预约，自动标记为失约。"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isAutoFailedServiceEnabled">                    </office-setting-edit-switch>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">预约项目配色方案</span>                    <span class="glyphicon glyphicon-question-sign content-block-title-description block-row-cell"                          tooltip="启用之后，在预约日视图，预约色块根据预约状态和预约项目显示两种颜色；其他预约视图，预约色块按预约项目显示一种颜色。"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isApptTileColorEnabled">                    </office-setting-edit-switch>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">预约视图显示病历号</span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isEnableOpenAppointmentCaseNo">                    </office-setting-edit-switch>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">预约视图显示备注</span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isEnableOpenAppointmentRemark">                    </office-setting-edit-switch>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">医生查看诊所视图</span>                    <span class="glyphicon glyphicon-question-sign content-block-title-description block-row-cell"                          tooltip="启用之后，医生预约视图可以切换到诊所日视图，能够查看所有医生的预约视图。"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.canDoctorViewWholeScheduler">                    </office-setting-edit-switch>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">医生今日工作-检查</span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isMedicalExamOpen">                    </office-setting-edit-switch>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">就诊流程模式</span>                    <span class="glyphicon glyphicon-question-sign content-block-title-description block-row-cell"                          tooltip="在强流程模式下，患者就诊状态必须按照挂号、治疗中、治疗完成、已结账、已离开的顺序进行；在弱流程模式下，患者就诊状态可以不按顺序进行。"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                    </span>                </div>                <div class="setting-content-block-switch">                    <ares-switch on-label="强流程"                                 off-label="弱流程"                                 value="officeSetting.isStrictApptWorkflowEnabled"></ares-switch>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">启用咨询师分诊</span>                    <span class="glyphicon glyphicon-question-sign content-block-title-description block-row-cell"                          tooltip="启用了咨询师以后，在前台今日工作，在挂号之前，前台可以将预约分配给咨询师。"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isEnableConsultantDiagnose">                    </office-setting-edit-switch>                </div>            </div>            <div class="content-block-extend" ng-show="officeSetting.isEnableConsultantDiagnose">                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isAllowApptToConsultant" id="isAllowApptToConsultant"                               ng-model="officeSetting.isAllowApptToConsultant">                        <label class="office-setting-checkbox-label"                               for="isAllowApptToConsultant">                            预约到咨询师                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isCheckInWithConsultOpen" id="isCheckInWithConsultOpen"                               ng-model="officeSetting.isCheckInWithConsultOpen">                        <label class="office-setting-checkbox-label"                               for="isCheckInWithConsultOpen">                            挂号时指定咨询项目                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isNewPatientWithConsultOpen" id="isNewPatientWithConsultOpen"                               ng-model="officeSetting.isNewPatientWithConsultOpen">                        <label class="office-setting-checkbox-label"                               for="isNewPatientWithConsultOpen">                            自动带入推荐人咨询师信息                        </label>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">启用收挂号费流程</span>                    <span class="glyphicon glyphicon-question-sign content-block-title-description block-row-cell"                          tooltip="启用了收挂号费流程以后，在前台今日工作，在挂号时，可以选择立即进行挂号收费。"                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="officeSetting.isCheckInChargeEnabled">                    </office-setting-edit-switch>                </div>            </div>            <div class="content-block-extend" ng-show="officeSetting.isCheckInChargeEnabled">                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isCheckInChargeDefultOpen" id="isCheckInChargeDefultOpen"                               ng-model="officeSetting.isCheckInChargeDefultOpen">                        <label class="office-setting-checkbox-label"                               for="isCheckInChargeDefultOpen">                            预约到咨询师                        </label>                    </div>                </div>                <div class="block-row">                    <label class="block-row-cell" style="margin-right:20px;vertical-align:top;line-height:34px;">                        挂号费项目                    </label>                    <div class="block-row-cell" style="vertical-align:top;">                        <div class="block-row">                            <label class="block-row-cell" style="width:100px;">默认模版：</label>                            <charge-item-multi-select-input class="block-row-cell"                                                            selected-charge-items="defaultCheckInChargeItemTemplate.chargeItems"                                                            max-count="5"                                                            allow-edit="true"                                                            msg-item-name-prefix="挂号"                                                            style="width:450px;"></charge-item-multi-select-input>                            <a class="block-row-cell" style="margin-left:10px"                               id="addCheckInTemplate" href=""                               ng-click="onAddCheckInTemplate()"                               disabled="disabled">添加特殊模版</a>                        </div>                        <div class="block-row" ng-repeat="item in specialCheckInChargeItemTemplates">                            <input class="form-control block-row-cell" style="width:100px;"                                   id="checkInType{{$index}}" ng-model="item.checkInType" type="text">                            <charge-item-multi-select-input class="block-row-cell"                                                            selected-charge-items="item.chargeItems"                                                            max-count="5"                                                            allow-edit="true"                                                            msg-item-name-prefix="挂号"                                                            style="width:450px;"></charge-item-multi-select-input>                            <a class="block-row-cell" style="margin-left:10px"                               href="" ng-click="onDelCheckInTemplate($index)">删除</a>                        </div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/tenant/components/office-setting-charge-business-rule/office-setting-charge-business-rule-view.html','<div class="office-setting-charge-business-rule">    <h3 class="office-setting-title">        收费配置    </h3>    <div class="office-setting-content">        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">                        收费模式                    </span>                </div>            </div>            <div class="content-block-extend">                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="applyDetailChargeValue" id="applyDetailChargeValue"                               ng-disabled="systemConfigs.DefaultCharge==\'DetailCharge\'"                               ng-model="systemConfigs.applyDetailCharge">                        <label class="office-setting-checkbox-label"                               for="applyDetailChargeValue">                            明细收费                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="applySimpleChargeValue" id="applySimpleChargeValue"                               ng-disabled="systemConfigs.DefaultCharge==\'SimpleCharge\'"                               ng-model="systemConfigs.applySimpleCharge">                        <label class="office-setting-checkbox-label"                               for="applySimpleChargeValue">                            简易收费                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="applyDisposalChargeValue" id="applyDisposalChargeValue"                               ng-disabled="systemConfigs.DefaultCharge==\'DisposalCharge\'"                               ng-model="systemConfigs.applyDisposalCharge">                        <label class="office-setting-checkbox-label"                               for="applyDisposalChargeValue">                            处置收费                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell">                        <input class="office-setting-checkbox" type="checkbox"                               name="applyRCChargeValue" id="applyRCChargeValue"                               ng-disabled="systemConfigs.DefaultCharge==\'RCCharge\'"                               ng-model="systemConfigs.applyRCCharge">                        <label class="office-setting-checkbox-label"                               for="applyRCChargeValue">                            处置收费                        </label>                    </div>                </div>                <div class="block-row">                    <label class="control-label block-row-cell" style="margin-right:20px;" for="chargeTypeInput">默认收费模式：</label>                    <select id="chargeTypeInput" class="form-control block-row-cell" style="width: 130px;" ng-model="systemConfigs.DefaultCharge">                        <option value="DetailCharge" ng-show="systemConfigs.applyDetailCharge">明细收费</option>                        <option value="SimpleCharge" ng-show="systemConfigs.applySimpleCharge">简易收费</option>                        <option value="DisposalCharge" ng-show="systemConfigs.applyDisposalCharge">处置收费</option>                        <option value="RCCharge" ng-show="systemConfigs.applyRCCharge">跨科收费</option>                    </select>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">                        收费显示                    </span>                </div>            </div>            <div class="content-block-extend">                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:40px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowBorwserChargeItem" id="allowBorwserChargeItem"                               ng-model="systemConfigs.allowBorwserChargeItem">                        <label class="office-setting-checkbox-label"                               for="allowBorwserChargeItem">                            是否开启前台快捷收费显示收费项目                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:10px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowStatement" id="allowStatement"                               ng-model="systemConfigs.allowStatement">                        <label class="office-setting-checkbox-label"                               for="allowStatement">                            是否开启“今日对账”和“对账单查询”                        </label>                    </div>                </div>                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:25px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowSealingTime" id="allowSealingTime"                               ng-model="systemConfigs.allowSealingTime">                        <label class="office-setting-checkbox-label"                               for="allowSealingTime">                            默认使用财务日来统计财务报表                        </label>                    </div>                    <label class="block-row-cell" style="margin-right:10px;">                        每日封账时间：                    </label>                    <div class="block-row-cell">                        <input id="startDatePicker" name=\'startDatePicker\'                               ng-disabled="!systemConfigs.allowSealingTime" type="text"                               class="form-control" kendo-time-picker                               k-ng-model="sealingTimePicker"                               k-interval="30" k-format="\'HH:mm:ss\'"                               k-parse-formats="[\'HH:mm:ss\']" style="width: 130px;">                        <span class="k-invalid-msg" data-for="startDatePicker"></span>                    </div>                </div>                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:25px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isEnableFinanceDay" id="isEnableFinanceDay"                               ng-model="systemConfigs.isEnableFinanceDay">                        <label class="office-setting-checkbox-label"                               for="isEnableFinanceDay">                            财务月配置                        </label>                    </div>                    <label class="block-row-cell">当月</label>                    <select id="monthStartDate" class="form-control block-row-cell"                            ng-disabled="!systemConfigs.isEnableFinanceDay"                            ng-model="systemConfigs.financeDay"                            style="width:100px;display: inline-block;"                            ng-options=\' itemDate for itemDate in monthList\'>                        <option value=\'\'>1</option>                    </select>                    <div class="block-row-cell">                        <span>日至</span>                        <span>{{monthDescription}}</span>                        <span>{{nextMonthDate}}</span>                        <span>日</span>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">                        收费折扣                    </span>                </div>            </div>            <div class="content-block-extend">                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:40px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowSingleDiscountValue" id="allowSingleDiscountValue"                               ng-model="systemConfigs.allowSingleDiscountValue">                        <label class="office-setting-checkbox-label"                               for="allowSingleDiscountValue">                            允许单项打折                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:25px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowUpdatePrice" id="allowUpdatePrice"                               ng-model="systemConfigs.allowUpdatePrice">                        <label class="office-setting-checkbox-label"                               for="allowUpdatePrice">                            收费时允许修改项目单价                        </label>                    </div>                </div>                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:25px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isStudentDefaultOrderDiscount" id="isStudentDefaultOrderDiscount"                               ng-model="systemConfigs.isStudentDefaultOrderDiscount">                        <label class="office-setting-checkbox-label"                               for="isStudentDefaultOrderDiscount">                            学生新建账单时启用默认整单折扣                        </label>                    </div>                </div>                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:25px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowMinDiscount" id="allowMinDiscount"                               ng-model="systemConfigs.allowMinDiscount">                        <label class="office-setting-checkbox-label"                               for="allowMinDiscount">                            是否开启收费折扣下限(注意：开启后将锁定会员折扣)                        </label>                    </div>                </div>                <div class="block-row" ng-show="systemConfigs.allowMinDiscount" ng-repeat="item in discountLimitSettings">                    <div class="block-row-cell">                        <label ng-show="item.scope == 1 " class="block-row-cell control-label"                               for="discountLimitRoleType{{$index}}">默认折扣下限</label>                        <input id="discountLimitRoleType{{$index}}"                               ng-show="item.scope > 1 "                               ng-model="item.referenceId"                               ng-disabled="!isEdit"                               type="text" class="form-control" style="width:100px;">                    </div>                    <div class="block-row-cell">                        <label for="orderLowerLimit{{$index}}" class="block-row-cell"                               style="margin-left:34px;">整单折扣下限：</label>                        <input id="orderLowerLimit{{$index}}" style="width:90px;"                               kendo-numeric-text-box k-min="0"                               k-step="1" k-min="0" k-max="100"                               k-on-change="onOrderLowerDiscountChange(kendoEvent)"                               k-ng-model="item.orderLowerLimit" />                        <label class="control-label">%</label>                    </div>                    <div class="block-row-cell">                        <label for="detailLowerLimit{{$index}}" class="block-row-cell"                               style="margin-left:34px;">单项折扣下限：</label>                        <input id="detailLowerLimit{{$index}}" style="width:90px;"                               kendo-numeric-text-box k-min="0"                               k-step="1" k-min="0" k-max="100"                               k-on-change="onDetailLowerDiscountChange(kendoEvent)"                               k-ng-model="item.detailLowerLimit" />                        <label class="control-label">%</label>                    </div>                    <div class="block-row-cell">                        <a class="content-row-cell" id="addDiscountLimitSetting" href=""                           ng-click="onAddDiscountLimitSetting()" ng-show="$index == 0 "                           disabled="disabled"                           style="margin-left:10px">添加特殊规则</a>                        <a href="" ng-click="onDelDiscountLimitSetting($index)"                           ng-show="$index > 0 "                           style="margin-left:10px">删除</a>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">                        收费支付                    </span>                </div>            </div>            <div class="content-block-extend">                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:40px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowAllotChargeDetail" id="allowAllotChargeDetail"                               ng-model="systemConfigs.allowAllotChargeDetail">                        <label class="office-setting-checkbox-label"                               for="allowAllotChargeDetail">                            是否开启收费项目实收分配                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:40px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="isEnableGiftCard" id="isEnableGiftCard"                               ng-model="systemConfigs.isEnableGiftCard">                        <label class="office-setting-checkbox-label"                               for="isEnableGiftCard">                            是否集成不记名卡                        </label>                    </div>                </div>                <div class="block-row">                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:40px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowShareGiftCertificateInPatientRelations" id="allowShareGiftCertificateInPatientRelations"                               ng-model="systemConfigs.allowShareGiftCertificateInPatientRelations">                        <label class="office-setting-checkbox-label"                               for="allowShareGiftCertificateInPatientRelations">                            是否开启共享所有卡券给亲友                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row-cell" style="margin-right:40px;">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowDeposit" id="allowDeposit"                               ng-model="systemConfigs.allowDeposit">                        <label class="office-setting-checkbox-label"                               for="allowDeposit">                            储值卡支持冻结解冻                        </label>                    </div>                </div>                <div class="block-row">                    <label class="block-row-cell" style="margin-right:20px;">                        预付款收费本金馈赠金使用方式                    </label>                    <div class="block-row-cell">                        <ares-switch on-label="本金优先"                                     off-label="同比率"                                     value="isFirstPrincipal"></ares-switch>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title" style="width:150px;">                    <span class="content-block-title-content block-row-cell">                        收费扩展                    </span>                </div>                <div class="setting-content-block-switch">                    <div class="office-setting-checkbox-wrap block-row">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowCopyDisposal" id="allowCopyDisposal"                               ng-model="systemConfigs.allowCopyDisposal">                        <label class="office-setting-checkbox-label"                               for="allowCopyDisposal">                            是否复制处置收费的处置至病历                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowWeixinBillOrder" id="allowWeixinBillOrder"                               ng-model="systemConfigs.allowWeixinBillOrder">                        <label class="office-setting-checkbox-label"                               for="allowWeixinBillOrder">                            收费完成是否发送微信通知                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row">                        <input class="office-setting-checkbox" type="checkbox"                               name="isRefundReasonEnabled" id="isRefundReasonEnabled"                               ng-model="systemConfigs.isRefundReasonEnabled">                        <label class="office-setting-checkbox-label"                               for="isRefundReasonEnabled">                            患者退费原因跟踪                        </label>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <style>                    .list-item-add-btn {                        background: #00a6c9;                        border-radius: 12px;                        width: 180px;                        height: 26px;                        line-height: 26px;                        overflow: hidden;                        white-space: nowrap;                        text-overflow: ellipsis;                        position: relative;                        color: #fff;                        text-align: center;                        cursor: pointer;                    }                    .list-item-del-btn {                        cursor: pointer;                    }                    .list-item-input {                        width: 180px;                        height: 26px;                        border: 1px solid #00A6C9;                        background: #fff;                        border-radius: 12px;                        text-indent: 10px;                    }                </style>                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">                        收费项目自由项                    </span>                </div>                <div class="setting-content-block-switch">                    <div class="block-row" ng-repeat="field in chargeItemFreeFields">                        <input type="text" class="list-item-input block-row-cell"                               ng-model="item.itemValue"                               placeholder="请输入自由项名称">                        <div class="block-row-cell">                            <span class="iconfont icon-shanchu list-item-del-btn" ng-click="onDeleteFreeField($index)"></span>                        </div>                    </div>                    <div class="block-row list-item-add-btn"                         ng-click="onAddFreeField($event)"                         ng-if="chargeItemFreeFields.length < 3">                        新建自由项                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block" ng-show="hasAliPayAccount">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">                        集成支付宝收款                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="systemConfigs.allowAliPay">                    </office-setting-edit-switch>                </div>            </div>            <div class="content-block-extend" ng-show="systemConfigs.allowSetAli">                <div class="block-row" ng-include src="getAliUploadUrl()"></div>                <div class="block-row" style="margin-bottom:0;">                    <label class="control-label" style="margin-top:5px">AliAccount：</label>                    <input class="form-control" ng-model="onlinePayAccount.aliAccount" disabled="disabled" />                </div>                <div class="block-row" style="margin-bottom:0;">                    <label class="control-label" style="margin-top:5px">AliPartnerId：</label>                    <input class="form-control" ng-model="onlinePayAccount.aliPartnerId" disabled="disabled" />                </div>                <div class="block-row">                    <label class="control-label" style="margin-top:5px">AliApplyId：</label>                    <input class="form-control" ng-model="onlinePayAccount.aliApplyId" disabled="disabled" />                </div>            </div>        </div>        <div class="office-setting-content-block" ng-show="hasAliPayAccount">            <div class="content-block-main">                <div class="setting-content-block-title">                    <span class="content-block-title-content block-row-cell">                        集成微信收款                    </span>                </div>                <div class="setting-content-block-switch">                    <office-setting-edit-switch bool-value="systemConfigs.allowWeixinPay">                    </office-setting-edit-switch>                </div>            </div>            <div class="content-block-extend" ng-show="systemConfigs.allowSetWeixin">                <div class="block-row" ng-include src="getWeixinUploadUrl()"></div>                <div class="block-row" style="margin-bottom:0;">                    <label class="control-label" style="margin-top:5px">AppId：</label>                    <input class="form-control" ng-model="onlinePayAccount.weixinAppId" disabled="disabled" />                </div>                <div class="block-row">                    <label class="control-label" style="margin-top:5px">MchId：</label>                    <input class="form-control" ng-model="onlinePayAccount.weixinMchId" disabled="disabled" />                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title" style="width:150px;">                    <span class="content-block-title-content block-row-cell">                        收费划扣                    </span>                </div>                <div class="setting-content-block-switch">                    <div class="office-setting-checkbox-wrap block-row">                        <input class="office-setting-checkbox" type="checkbox"                               name="allowChargeDeductionManHours" id="allowChargeDeductionManHours"                               ng-model="systemConfigs.allowChargeDeductionManHours">                        <label class="office-setting-checkbox-label"                               for="allowChargeDeductionManHours">                            划扣支持填写工时                        </label>                    </div>                    <div class="office-setting-checkbox-wrap block-row">                        <input class="office-setting-checkbox" type="checkbox"                               name="isDefaultDeductionPlan" id="isDefaultDeductionPlan"                               ng-model="systemConfigs.isDefaultDeductionPlan">                        <label class="office-setting-checkbox-label"                               for="isDefaultDeductionPlan">                            收费项目默认带有划扣                        </label>                    </div>                </div>            </div>        </div>        <div class="office-setting-content-block">            <div class="content-block-main">                <div class="setting-content-block-title" style="width:150px;">                    <span class="content-block-title-content block-row-cell">                        收费打印                    </span>                </div>                <div class="setting-content-block-switch">                    <div class="office-setting-checkbox-wrap block-row">                        <input class="office-setting-checkbox" type="checkbox"                               name="printMembershipBalance" id="printMembershipBalance"                               ng-model="systemConfigs.printMembershipBalance">                        <label class="office-setting-checkbox-label"                               for="printMembershipBalance">                            打印储值卡余额                        </label>                    </div>                </div>            </div>            <div class="content-block-extend">                <label class="control-label block-row" style="margin-bottom:0">打印默认备注：</label>                <input class="form-control block-row" style="margin-bottom:0"                       ng-model="systemConfigs.printChargeNotes" maxlength="30" />                <span class="block-row">                    已输入{{systemConfigs.printChargeNotes.length}}字                </span>            </div>        </div>    </div></div>');templateCache.put('/app/tenant/components/office-setting-edit-starter/office-setting-edit-starter-view.html','<div class="office-setting-edit-starter">    <div class="config-top-bar">        <div class="config-top-bar-actions clearfix">            <div class="action action-edit-start" ng-click="onEditStart()">开启编辑</div>            <div class="action action-save" ng-click="onSave()">保存</div>            <span class="action action-cancel" ng-click="onCancel()">取消</span>        </div>    </div></div>');templateCache.put('/app/tenant/components/office-setting-edit-switch/office-setting-edit-switch.html','<div class="content-block-switch">    <span class="content-block-switch-description block-row-cell"></span>    <ares-switch-simple class="block-row-cell"                        bool-value="boolValue"                        ng-disabled="!isEdit"                        update-register="updateEventHandleRegister(updateHandle)"></ares-switch-simple></div>');templateCache.put('/app/tenant/dialogs/account-acceptance-dialog/account-acceptance-dialog-view.html','<div class="account-acceptance-dialog-view" ares-clean-kendo>    <style scoped>        .account-acceptance-dialog-view {            position: relative;            height: 100%;            overflow-y: auto;        }        .account-acceptance-dialog-view .footer-btn-group {            position: fixed;            bottom: 0;            left: 0;            margin-left: 4px;            width: 100%;            height: 50px;            line-height: 50px;            background-color: #f3f7f7;            text-align: right;            padding-right: 10px;        }        .account-acceptance-dialog-view .footer-btn-group button{          min-width: 100px;        }        .account-acceptance-dialog-view .form-horizontal .form-row-head{          height: 32px;          line-height: 32px;          background-color: #e0faff;          border-top: 1px solid #cfdbdd;          border-bottom: 1px solid #cfdbdd;        }        .account-acceptance-dialog-view .form-horizontal .form-row-head span{          color:#575d6a;          text-align:left;          margin-left: 12px;        }        .account-acceptance-dialog-view .form-horizontal .form-group{          margin: 8px auto;          padding-left: 10px;        }        .account-acceptance-dialog-view .form-horizontal .auto-width{          width: auto;        }        .account-acceptance-dialog-view .form-horizontal .auto-width label{          font-weight: normal;          line-height: 32px;          margin-bottom: 0;          color:#575d6a;        }        .account-acceptance-dialog-view .form-horizontal .input-container{          width: 178px;        }        .account-acceptance-dialog-view .form-horizontal .input-container .form-control{          height: 32px;          line-height: 32px;          box-shadow: none;          width: 160px;          border-color: #cfdbdd;        }        .account-acceptance-dialog-view .null-div{          height: 50px;        }        .account-acceptance-dialog-view .setting-step-head{          padding: 8px 10px;          background-color: #e0faff;        }        .account-acceptance-dialog-view .setting-step-head .head-name{          color:#00a6c9;          float: left;          width: 30%;        }        .account-acceptance-dialog-view .setting-step-head .head-name .title{          font-size: 16px;        }        .account-acceptance-dialog-view .head-step{          float: left;          width: 70%;        }        .account-acceptance-dialog-view .head-step tr td{          width: 25%;          position: relative;          vertical-align: middle;          text-align: left;        }        .account-acceptance-dialog-view .head-step tr td .step-icon{          background:#ffffff;          border:1px solid #cfdbdd;          width:39px;          height:39px;          line-height: 39px;          border-radius:100%;          color:#9397a2;          font-size: 18px;          text-align: center;          position: absolute;          left: 0;          top: 0;        }        .account-acceptance-dialog-view .head-step tr td.active .step-icon,.account-acceptance-dialog-view .head-step tr td.active.complate .step-icon{          background-color: #f7a51d;          border-color: #f7a51d;          color: #fff;        }        .account-acceptance-dialog-view .head-step tr td.complate .step-icon{          background-color: #00a6c9;          border-color: #00a6c9;          color: #fff;        }        .account-acceptance-dialog-view .head-step tr td .step-text{          color:#9397a2;          margin-left: 45px;          width: 95px;        }        .account-acceptance-dialog-view .head-step tr td.active .step-text{          color:#f7871d;        }        .account-acceptance-dialog-view .form-row-body .list-row-percent{          width: 100%;        }        .account-acceptance-dialog-view .form-row-body .list-row{          padding: 10px 0;          border-bottom: 1px solid #cfdbdd;        }        .account-acceptance-dialog-view .form-row-body .list-row-head{          background-color: #f3f7f7;          line-height: 28px;          border-bottom: 1px solid #cfdbdd;        }        .account-acceptance-dialog-view .form-row-body .list-row-percent .list-col{          float: left;          text-align: left;          padding-left: 10px;          color:#575d6a;        }        .account-acceptance-dialog-view .form-row-body .list-row-percent .sequence {            width: 6%;        }        .account-acceptance-dialog-view .form-row-body .list-row-percent .post {            width: 48%;            white-space: nowrap;            text-overflow: ellipsis;            overflow: hidden;        }            .account-acceptance-dialog-view .form-row-body .list-row-percent .modle {                width: 16%;                white-space: nowrap;                text-overflow: ellipsis;                overflow: hidden;            }        .account-acceptance-dialog-view .form-row-body .list-row-percent .setting{          width: 30%;          padding-right: 10px;          text-align: right;        }        .account-acceptance-dialog-view .form-horizontal .ares-checkbox{          vertical-align: text-top;          margin-right: 5px;        }        .account-acceptance-dialog-view .form-horizontal .not-checkbox{          margin-left: 15px;        }        .account-acceptance-dialog-view .form-row-body .special-des{          margin-top: 10px;        }        .account-acceptance-dialog-view .form-row-body .special-des .lab{          color: #00a6c9;        }        .account-acceptance-dialog-view .form-row-body .special-des .remark{          padding-left: 8px;          margin-left: 15px;          border:1px solid #cfdbdd;          width:90%;        }        .account-acceptance-dialog-view .form-horizontal .has-bdline{          border-bottom:1px solid #cfdbdd;        }        .account-acceptance-dialog-view .form-horizontal .service-list{          padding: 10px 0 10px 12px;        }        .account-acceptance-dialog-view .form-horizontal .service-row{          margin: 10px auto;        }        .account-acceptance-dialog-view .form-horizontal .service-list .lab{          color:#575d6a;        }        .account-acceptance-dialog-view .form-horizontal .service-list .ares-radio-inline{          font-weight: normal;          margin-right: 15px;        }        .account-acceptance-dialog-view .has-no-acc{          position: absolute;          z-index: 1;          top: 50%;          left: 50%;          text-align: center;          margin-top: -20px;        }        .account-acceptance-dialog-view .has-no-acc.succ{          top: 30%;        }        .account-acceptance-dialog-view .has-no-acc .text{          margin-bottom: 10px;        }        .account-acceptance-dialog-view .bg-img{          position: relative;        }        .account-acceptance-dialog-view .bg-img .img-text{          position: absolute;          top: 124px;          left: 32px;        }        .account-acceptance-dialog-view .bg-img .img-text .title{          font-size:36px;          color: #fff;          background-color: #00a6c9;          padding: 3px 10px;          display: inline-block;        }        .account-acceptance-dialog-view .bg-img .img-text .sub-title{          font-size:20px;          color: #00a6c9;        }    </style>    <div class="account-acceptance-dialog-wrapper" ng-show="acceptanceReport && !complated">        <div class="section-floor-one" ng-if="steps==1">            <div class="bg-img">                <img src="images/acceptance-bg.png" width="840" height="278">                <div class="img-text">                  <span class="title">{{::officeInfo.name}} </span>                  <div class="sub-title">e看牙软件{{::officeInfo.editionName}}使用验收单</div>                </div>            </div>            <div class="form-horizontal">                <div class="form-row-head">                    <span>软件销售负责人</span>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 auto-width">                        <label>姓名</label>                    </div>                    <div class="col-sm-3 input-container">                        <input readonly type="text" class="form-control" ng-value="acceptanceReport.sellerName" />                    </div>                    <div class="col-sm-2 auto-width">                        <label>电话</label>                    </div>                    <div class="col-sm-3 input-container">                        <input readonly type="text" class="form-control" ng-value="acceptanceReport.sellerPhoneNo" />                    </div>                </div>                <div class="form-row-head">                    <span>实施负责人</span>                </div>                <div class="form-group clearfix">                    <div class="col-sm-2 auto-width">                        <label>姓名</label>                    </div>                    <div class="col-sm-3 input-container">                        <input readonly type="text" class="form-control" ng-value="acceptanceReport.csmName"/>                    </div>                    <div class="col-sm-2 auto-width">                        <label>电话</label>                    </div>                    <div class="col-sm-3 input-container">                        <input readonly type="text" class="form-control" ng-value="acceptanceReport.csmPhoneNo" />                    </div>                </div>                <div class="form-row-head">                    <span>培训时间</span>                </div>                <div class="form-group clearfix" style="padding-bottom:10px;border-bottom:1px solid #cfdbdd;">                    <div class="col-sm-1 auto-width" style="padding-right:0;">                        <label>培训时间</label>                    </div>                    <div class="col-sm-6" style="width: 225px;">                        <input class="form-control" ng-disabled="officeInfo.isAccepted" kendo-date-picker k-ng-model="acceptanceReport.trainingStartTime" k-format="\'yyyy-MM-dd\'">                    </div>                    <div class="col-sm-1 auto-width" style="margin-left:50px;">                        <label>培训次数</label>                    </div>                    <div class="col-sm-3 input-container">                        <input type="text" class="form-control" ng-disabled="officeInfo.isAccepted" ng-model="acceptanceReport.trainingCount" />                    </div>                </div>            </div>        </div>        <div class="section-floor-two" ng-show="steps==2">          <div class="setting-step-head clearfix">            <div class="head-name">              <div class="title">                {{::officeInfo.name}}              </div>              <div class="stit">                e看牙软件{{::officeInfo.bussinessVersion}}使用验收单              </div>            </div>            <div class="head-step">              <table>                <tbody>                  <tr>                    <td ng-class="{\'active\':acceptStep == step.stepIndex,\'complate\':officeInfo.isAccepted || step.complate}" ng-repeat="step in acceptanceReport.steps">                      <div class="step-icon">{{step.stepIndex}}</div>                      <div class="step-text">{{step.stepName}}</div>                    </td>                    <td ng-class="{\'active\':acceptStep == \'last\',\'complate\':officeInfo.isAccepted || step.complate}">                      <div class="step-icon">{{acceptanceReport.steps.length+1}}</div>                      <div class="step-text" style="line-height:40px;">验收完成</div>                    </td>                  </tr>                </tbody>              </table>            </div>          </div>          <div class="setting-step-body">            <form class="form-horizontal">              <div class="form-row-head">                <span ng-if="acceptStep != \'last\'">系统配置内容完成情况</span>                <span ng-if="acceptStep == \'last\'">后续服务</span>              </div>              <div class="form-row-body" ng-if="acceptStep != \'last\'">                  <div class="list-row-percent clearfix list-row-head">                      <div class="list-col sequence">                          <span>序号</span>                      </div>                      <div class="list-col modle">                          <span>功能模块</span>                      </div>                      <div class="list-col post">                          <span>明细</span>                      </div>                      <div class="list-col setting">                          <span>是否配置完成</span>                      </div>                  </div>                  <div class="list-row-percent clearfix list-row" ng-repeat="item in acceptanceReportSteps.stepItems">                      <div class="list-col sequence">                          <span>{{$index+1}}</span>                      </div>                      <div class="list-col modle">                          <span title="{{item.feature}}">{{item.feature}}</span>                      </div>                      <div class="list-col post">                          <span title="{{item.description}}">{{item.description || \'无\'}}</span>                      </div>                      <div class="list-col setting">                          <div class="checkbox-group">                              <input type="checkbox" ng-model="item.isCompleted" ng-disabled="officeInfo.isAccepted" class="ares-checkbox" name="isCompleted">                          </div>                          <div class="special-des" ng-if="!item.isCompleted">                              <span class="lab">特殊情况说明：</span>                              <input type="checkbox" class="ares-checkbox" ng-disabled="officeInfo.isAccepted" ng-model="item.isNotRequired" name="isNotRequired">                              <span>不需要此功能</span>                              <input type="text" class="remark" name="notes" ng-disabled="officeInfo.isAccepted" ng-model="item.notes" placeholder="其他">                          </div>                      </div>                  </div>              </div>              <div class="after-service-body" ng-show="acceptStep == \'last\'">                <div class="has-bdline service-list">                  操作有问题时，联系客服的方式：<br>                  a. 系统右上角直接与在线客服对话 <br>                  b. 工作时间拨打 400 821 3720<br>                  c. 微信服务群内联系客服<br>                  <div class="service-row">                    <span class="lab">您门店的所有人员是否了解以上获取帮助的方式：</span>                    <input type="checkbox" class="ares-checkbox" name="isHelpKnown" ng-model="acceptanceReport.isHelpKnown" ng-disabled="officeInfo.isAccepted"><span>是</span>                  </div>                </div>                <div class="has-bdline service-list">                    <div class="service-row">                        <span class="lab">您对我们的实施工程师为您提供的服务是否满意：</span>                        <input id="satisfaction" type="text" ng-disabled="officeInfo.isAccepted" style="width:185px;" ng-model="acceptanceReport.satisfaction">                    </div>                    <div class="service-row">                        <span class="lab">您对我们的销售人员为您提供的服务是否满意：</span>                        <input id="salesSatisfaction" type="text" ng-disabled="officeInfo.isAccepted" style="width:185px;" ng-model="acceptanceReport.salesSatisfaction">                    </div>                    <div class="service-row">                        <span class="lab">您对我们的产品是否满意：</span>                        <input id="productSatisfaction" type="text" ng-disabled="officeInfo.isAccepted" style="width:185px;" ng-model="acceptanceReport.productSatisfaction">                    </div>                </div>                <div class="has-bdline service-list">                  <div class="service-row">                    <span class="lab">您的意见和建议：</span>                    <div class="text-area clearfix">                      <textarea name="name" ng-model="acceptanceReport.notes" ng-readonly="officeInfo.isAccepted" class="form-control col-sm-10" style="width:498px;height:48px;max-width:498px;margin-top:10px;"></textarea>                    </div>                  </div>                </div>              </div>            </form>          </div>        </div>        <div class="null-div"></div>        <div class="footer-btn-group">          <span ng-if="steps==2">            <button type="button" class="lc-btn lc-btn-primary" ng-click="prevStep();" ng-if="!(officeInfo.isAccepted && acceptStep == \'last\')">上一步</button>            <button type="button" class="lc-btn lc-btn-warning" ng-click="save(1)" ng-if="!officeInfo.isAccepted && acceptStep == \'last\'">保存</button>            <button type="button" class="lc-btn lc-btn-warning" ng-click="save(2)" ng-if="!officeInfo.isAccepted && acceptStep == \'last\'">提交</button>            <button type="button" class="lc-btn lc-btn-warning" ng-click="nextStep();" ng-if="acceptStep != \'last\'">下一步</button>            <button type="button" class="lc-btn lc-btn-warning" ng-click="close();" ng-if="officeInfo.isAccepted && acceptStep == \'last\'">完成</button>          </span>          <button type="button" class="lc-btn lc-btn-warning" ng-if="steps==1" ng-click="acceptanceTo()">            {{officeInfo.isAccepted ? \'下一步\':\'开始验收\'}}          </button>        </div>    </div>    <div class="has-no-acc succ" ng-if="complated">       <div class="iconfont icon-dkw_wancheng" style="font-size: 150px;font-weight: bold;color: #2dcb73;"></div>       <div class="text" style="font-size:20px;color:#2dcb73;margin-bottom:20px;">         {{acceptanceReport.isAccepted ? \'您已成功验收\':\'保存成功\'}}       </div>       <button type="button" class="lc-btn lc-btn-warning" ng-click="close(acceptanceReport.isAccepted)">关闭</button>    </div></div>');templateCache.put('/app/tenant/dialogs/group-edit-view/group-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        #mainForm input, select {            max-width: 200px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{isEdit ? \'修改群组信息\' : \'创建群组\'}}</h4>    </div>    <div class="modal-body ares-dialog-body">        <form id="mainForm" name="mainForm" class="form-horizontal" style="width:500px">            <div class="form-group">                <label for="name" class="control-label col-sm-2">群组名称</label>                <div class="col-sm-8 input-container">                    <input id="name" name="name" class="form-control" ng-model="office.name" />                </div>            </div>            <div class="form-group">                <label for="abbreviation" class="control-label col-sm-2">群组简称</label>                <div class="col-sm-8 input-container">                    <input id="abbreviation" name="abbreviation" maxlength="6" class="form-control" ng-model="office.abbreviation" style="width:100px;" />                    <span class="glyphicon glyphicon-question-sign" style="position:absolute;top:10px;left:105px;"                          tooltip="简称用于简明扼要的标识该群组，比如“浦东店”，“金科路”等，最多8个汉字。"                          tooltip-placement="bottom" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                </div>            </div>            <div class="form-group">                <label for="officeType" class="col-sm-2 control-label">类型</label>                <div class="col-sm-8 input-container">                    <input type="radio" ng-value=0 ng-model="office.bizType" name="selectState">加盟                    <input type="radio" ng-value=1 ng-model="office.bizType" name="selectState">直营                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="onSave()">确定</button>    </div></div>');templateCache.put('/app/tenant/dialogs/hand-over-dialog/charge-deduction-allocation-view.html','<div ares-clean-kendo class="enyo charge-duduction-allocation-view">    <style scoped>        .allocation-edit-form .form-group-head {            background-color: #f3f7f7;            line-height: 32px;            text-indent: 7px;            margin-bottom: 15px;        }        .allocation-edit-form {            margin: 10px;        }        .allocation-edit-form .label-width {            width: 60px;            text-align: right;            padding: 0;            margin-right: 10px;            line-height: 32px;        }        .allocation-edit-form .label-width label {            font-weight: normal;            color: #9397a2;            margin-bottom: 0;        }        .enyo-modal-content {            min-height: 200px;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">划扣分配</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <form class="allocation-edit-form">              <!--   <div class="form-group clearfix" style="margin-bottom:5px;">                    <div class="col-sm-2 label-width">                        <label>分配方式</label>                    </div>                    <div class="col-sm-10 input-container">                        <label class="ares-radio-inline">                          <input type="radio" name="allocationType" ng-model="allocation.allocationType" ng-value="2"><span class="radioInput"></span>平均分配                      </label>                        <label class="ares-radio-inline" style="margin-left:15px;">                          <input type="radio" name="allocationType" ng-model="allocation.allocationType" ng-value="1"><span class="radioInput"></span>随机分配                      </label>                    </div>                </div> -->               <!--  <ares-provider-select-view original-providers="orProviders" new-providers="newProviders"></ares-provider-select-view> -->                <div style="margin-bottom: 10px">                    <span class="glyphicon glyphicon-info-sign" style="color:#f7a51d;"></span>                    <span class="font-size-13">已选择<span style="color:red;font-size:13px;">{{chargeDeductionCount}}</span>个划扣</span>                </div>                 <div class="search-item pull-left" style="margin-right: 10px;">                    <div class="search-item search-item-input">                       <input id="executionDoctorInput" class="form-control" style="width: 140px;" />                    </div>                </div>            </form>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="save()">保存</button>        </div>    </div></div>');templateCache.put('/app/tenant/dialogs/hand-over-dialog/patient-allocation-view.html','<div ares-clean-kendo class="patient-allocaton-view">    <style scoped>        .patient-allocaton-view {            border: 1px solid #00a6c9;        }            .patient-allocaton-view .dialog-header {                height: 32px;                background: #00a6c9;            }                .patient-allocaton-view .dialog-header .dialog-header-title {                    font-size: 16px;                    color: #ffffff;                    margin-left: 10px;                    margin-top: 5px;                }                .patient-allocaton-view .dialog-header .dialog-header-close {                    margin-right: 8px;                    margin-top: 5px;                    color: #ffffff;                    cursor: pointer;                }            .patient-allocaton-view .dialog-body {                padding:15px;            }            .patient-allocaton-view .dialog-footer {                text-align: center;                height: 51px;                border-top: 1px solid #cfdbdd;                background: #f3f7f7;                padding-top: 10px;            }    </style>    <div>        <div class="dialog-header clearfix">            <div class="pull-left dialog-header-title">                人员分配            </div>            <div class="pull-right iconfont icon-guanbi dialog-header-close" ng-click="cancel();"></div>        </div>        <div class="dialog-body">            <div>                <span class="glyphicon glyphicon-info-sign" style="color:#f7a51d;"></span>                <span class="font-size-13">已选择<span style="color:red;font-size:13px;">{{patientCount}}</span>个患者</span>            </div>            <div style="margin-top: 10px;">                <table style="width:100%;">                    <tr>                        <td style="width:150px;">                            <input id="handoverTypeInput" class="form-control" ng-model="handoverType" style="width: 120px;" />                        </td>                        <td style="width:20px;">                            <div style="margin: 0 10px;-webkit-transform: rotate(-90deg);">                                <span class="iconfont icon-jiantou" style="color:#00a6c9;"></span>                            </div>                        </td>                        <td>                            <select kendo-name-code-filter-drop-down-list                                    style="min-width: 150px;" class="form-control font-size-13"                                    k-filter="\'contains\'"                                    k-data-source="providers"                                    k-data-text-field="\'name\'"                                    k-data-value-field="\'id\'"                                    k-option-label="\'选择员工\'"                                    k-ng-model="currentSelectedProvider"></select>                        </td>                    </tr>                </table>            </div>        </div>        <div class="dialog-footer">            <button class="lc-btn lc-btn-primary" ng-click="save()">保存</button>            <button class="lc-btn lc-btn-default" ng-click="cancel()">取消</button>        </div>    </div></div>');templateCache.put('/app/tenant/dialogs/office-edit-view/office-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        #mainForm input, select {            max-width: 200px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{isEdit ? \'修改诊所信息\' : \'创建新诊所\'}}</h4>    </div>    <div class="modal-body ares-dialog-body">        <form id="mainForm" name="mainForm" class="form-horizontal" style="width:500px">            <div class="form-group">                <label for="name" class="control-label col-sm-2">诊所名称</label>                <div class="col-sm-8 input-container">                    <input id="name" name="name" class="form-control" ng-model="office.name" />                </div>            </div>            <div class="form-group">                <label for="abbreviation" class="control-label col-sm-2">诊所简称</label>                <div class="col-sm-8 input-container">                    <input id="abbreviation" name="abbreviation" maxlength="8" class="form-control" ng-model="office.abbreviation" style="width:100px;" />                    <span class="glyphicon glyphicon-question-sign" style="position:absolute;top:10px;left:105px;"                          tooltip="诊所简称用于简明扼要的标识该诊所，比如“浦东店”，“金科路”等，最多8个汉字，适用于系统需要显示诊所名，但是诊所名又比较长的场合。"                          tooltip-placement="bottom" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                </div>            </div>            <div class="form-group">                <label for="code" class="control-label col-sm-2">诊所编码</label>                <div class="col-sm-8 input-container">                    <input id="code" name="code" class="form-control" ng-model="office.code" />                </div>            </div>            <div class="form-group">                <label for="address" class="col-sm-2 control-label">诊所地址</label>                <div class="col-sm-8 input-container">                    <input id="address" name="address" class="form-control" ng-model="office.address" />                </div>            </div>            <div class="form-group">                <label for="officePhoneNumber" class="col-sm-2 control-label">诊所电话</label>                <div class="col-sm-8 input-container">                    <input id="officePhoneNumber" name="officePhoneNumber" class="form-control" ng-model="office.phoneNumber" />                </div>            </div>            <div class="form-group">                <label for="postalCode" class="col-sm-2 control-label">邮编</label>                <div class="col-sm-8 input-container">                    <input id="postalCode" name="postalCode" class="form-control" ng-model="office.postalCode" />                </div>            </div>            <div class="form-group">                <label for="contactName" class="col-sm-2 control-label">联系人</label>                <div class="col-sm-8 input-container">                    <input id="contactName" name="contactName" class="form-control" ng-model="office.contactName" />                </div>            </div>            <div class="form-group">                <label for="contactPhoneNumber" class="col-sm-2 control-label">联系电话</label>                <div class="col-sm-8 input-container">                    <input id="contactPhoneNumber" name="contactPhoneNumber" class="form-control" ng-model="office.contactPhoneNumber" />                </div>            </div>            <div class="form-group">                <label for="faxNumber" class="col-sm-2 control-label">传真</label>                <div class="col-sm-8 input-container">                    <input id="faxNumber" name="faxNumber" class="form-control" ng-model="office.faxNumber" />                </div>            </div>            <div class="form-group">                <label for="faxNumber" class="col-sm-2 control-label">网址</label>                <div class="col-sm-8 input-container">                    <input id="faxNumber" name="faxNumber" class="form-control" ng-model="office.website" />                </div>            </div>            <div class="form-group" ng-if="isOfficeTypeVisible">                <label for="officeType" class="col-sm-2 control-label">类型</label>                <div class="col-sm-8 input-container">                    <input type="radio" ng-value=0 ng-model="office.bizType" name="selectState">加盟                    <input type="radio" ng-value=1 ng-model="office.bizType" name="selectState">直营                </div>            </div>            <div class="form-group" ng-if="isVersionSelectable">                <label for="businessEdition" class="control-label col-sm-2">版本</label>                <div class="col-sm-8 input-container">                    <input class="not-ignore" id="businessEdition" name="businessEdition" />                </div>            </div>            <!--<div class="form-group">        <label class="col-sm-2 control-label"></label>        <div class="col-sm-8 input-container">            <label class="checkbox inline" style="font-size:16px;font-weight:normal;margin-left:20px">                <input type="checkbox" ng-model="office.isPatientPublic">允许病人共享            </label>        </div>    </div>-->        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="save2()">确定</button>    </div></div>');templateCache.put('/app/tenant/dialogs/office-transfer-dialog-view/office-transfer-dialog-view.html','<div id="office-transfer-dialog" ares-modal-dragable ares-clean-kendo>    <style scoped>        #office-transfer-dialog .k-state-selected,         #office-transfer-dialog .k-state-hover,         #office-transfer-dialog .k-state-focused {            color: #428bca !important;            background-color: #fff;        }        #office-transfer-dialog .modal-body {            height: 300px;        }        #office-transfer-dialog .button-div {            cursor: pointer;            color: #00a8cb;            background: #ffffff;            border: 1px solid #00a8cb;            border-radius: 4px;            height: 30px;            font-size: 14px;            padding: 4px 10px;            float: left;            margin-left: 20px;        }            #office-transfer-dialog .button-div:hover {                color: #fff;                background-color: #00a8cb;                border-color: #00a8cb;            }        #office-transfer-dialog .tranferring-header-div{            height:30px;        }        #office-transfer-dialog .transferring-list-div {            max-height: 160px;            overflow-y: auto;            margin-top: 10px;            margin-bottom: 3px;        }        #office-transfer-dialog .transferring-list {            margin-left:40px;            margin-top: 9px;        }        #office-transfer-dialog .transferring-list-item {            color: #00a8cb;        }        #office-transfer-dialog .transfer-header-div {            height: 30px;        }        #office-transfer-dialog .transfer-item {            margin-left: 20px;            margin-top: 9px;            color: #00a8cb;        }        #office-transfer-dialog h4 {            float: left;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">节点迁移</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="tranferring-header-div">            <h4>1.请选择要迁移的节点</h4>            <div class="button-div" ng-click="selectTranferringOffices()">选择</div>        </div>        <div class="transferring-list-div">            <ul class="transferring-list">                <li class="transferring-list-item" ng-repeat="name in transferringOfficeNames">{{name}}</li>            </ul>        </div>        <div class="transfer-header-div">            <h4>2.请选择迁入节点</h4>            <div class="button-div" ng-click="selectTransferTarget()">选择</div>        </div>        <div class="transfer-item">            <span>{{transferTargetName}}</span>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="ok()">确定</button>    </div></div>');templateCache.put('/app/tenant/dialogs/partner-account-dialog/partner-account-dialog-view.html','<div class="partner-account-dialog new-ares-dialog-wrap enyo" ares-modal-dragable ares-clean-kendo>    <style>        .partner-account-dialog .red-required {            color:#ff0000;            padding-right: 5px;            font-style:normal;            width: 6px;            height: 6px;            position: relative;            top: 3px;        }        .partner-account-dialog  .control-label {            font-family: PingFangSC-Regular;            font-size: 14px;            color: #575D6A;            letter-spacing: 0;            text-align: right;            font-weight: normal;        }        .partner-account-dialog .form-group input[type=password]{            box-shadow: none;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <form name="accountForm" novalidate>    <div class="modal-body ares-dialog-body">        <div class="form-horizontal">            <div class="form-group">                <label class="col-sm-2 control-label"><i class="red-required">*</i>姓名</label>                <div class="col-sm-6">                    <input type="text" name="name" class="form-control" placeholder="请输入姓名" ng-model="form.name" required>                </div>            </div>            <div class="form-group">                <label class="col-sm-2 control-label"><i class="red-required">*</i>手机</label>                <div class="col-sm-6">                    <input type="text" name="mobile" class="form-control" placeholder="请输入手机" ng-model="form.mobile" required>                </div>            </div>            <div class="form-group">                <label class="col-sm-2 control-label"><i class="red-required">*</i>渠道</label>                <div class="col-sm-6">                    <select class="form-control"                            kendo-drop-down-list                            k-data-text-field="\'name\'"                            k-data-value-field="\'id\'"                            k-option-label="\'选择渠道\'"                            k-data-source="partnerData"                            k-ng-model="partner"                            style="width: 100%">                    </select>                </div>                <div class="col-sm-2">                    <label class="control-label">                        <a herf=""  ng-click="partnerDialog()">设置</a>                    </label>                </div>            </div>            <div class="form-group">                <label class="col-sm-2 control-label"><i class="red-required">*</i>账号</label>                <div class="col-sm-6">                    <input type="text" name="account" class="form-control" placeholder="请输入账号" ng-model="form.account" required>                </div>            </div>            <div class="form-group">                <label class="col-sm-2 control-label"><i class="red-required">*</i>密码</label>                <div class="col-sm-6">                    <input type="password" name="password" class="form-control" placeholder="请输入密码" ng-model="form.password" required ng-disabled="type===1&&!isEidtPassword">                </div>                <div class="col-sm-4" ng-show="type===1">                    <label class="control-label">                        <input type="checkbox"  class="ares-checkbox" ng-model="isEidtPassword" ng-change="change()">                        <label  style="font-weight:normal;padding-left:5px">是否修改密码</label>                    </label>                </div>            </div>            <div class="form-group">                <label class="col-sm-2 control-label"><i class="red-required">*</i>确认密码</label>                <div class="col-sm-6">                    <input type="password" name="confirmPassword" class="form-control" placeholder="请输入确认密码" ng-model="confirmPassword" required ng-disabled="type===1&&!isEidtPassword">                </div>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button type="button" class="btn btn-primary ares-btn-blue" ng-click="save()" ng-disabled="accountForm.$invalid">确定</button>        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>    </div>    </form></div>');templateCache.put('/app/tenant/dialogs/partner-channel-dialog/partner-channel-dialog-view.html','<div class="partner-channel-dialog new-ares-dialog-wrap enyo" ares-modal-dragable ares-clean-kendo>    <style>        .partner-channel-dialog .table {            font-size: 13px;        }        .partner-channel-dialog .table-header{            background-color: #f3f7f7;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>        <div class="modal-body ares-dialog-body">            <div class="custom-standard-data-table">                <table class="table table-bordered">                    <thead class="table-header">                        <tr>                            <th>渠道</th>                            <th>操作</th>                        </tr>                    </thead>                    <tbody class="table-main">                        <tr ng-repeat="item in partnerData">                            <td style="width: 70%">                                <span ng-show="!item.isNew">{{item.name}}</span>                                <input type="text" class="form-control" placeholder="请输入渠道" ng-model="item.name" ng-show="item.isNew">                            </td>                            <td style="width: 30%">                                <a ng-click="editPartner(item)" ng-show="!item.isNew" style="padding-right:10px;">修改</a>                                <a ng-click="deletePartner($index,item.id)" ng-show="!item.isNew">删除</a>                                <button type="button" class="lc-btn lc-btn-primary" ng-click="save(item)" ng-show="item.isNew">确定</button>                                <button type="button" class="lc-btn lc-btn-default" ng-click="cancel($index, item)" ng-show="item.isNew">取消</button>                            </td>                        </tr>                        <tr>                            <td colspan="2">                                <a ng-click="addPartner()">                                    <i class="iconfont icon-tianjia"></i>                                    新增渠道                                </a>                            </td>                        </tr>                    </tbody>                </table>            </div>        </div>        <div class="modal-footer ares-dialog-footer" style="text-align:center;">            <button type="button" class="btn btn-default" ng-click="close()">关闭</button>        </div></div>');templateCache.put('/app/tenant/dialogs/today-work-config-view/today-work-config-view.html','<div ares-modal-dragable ares-clean-kendo>    <style type="text/css">        .title-lable {            text-align: right;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">角色属性</h4>    </div>    <div class="modal-body ares-dialog-body" style="height:490px">        <div class="control-group">            <div class="form-group">                <label class="title-lable col-sm-4">角色名称</label>                <label>{{roleName}}</label>            </div>            <div class="form-group">                <label class="title-lable col-sm-4">今日工作</label>                <div class="col-sm-6" style="padding: 0">                    <select id="todaywork"></select>                </div>            </div>            <div class="form-group">                <div class="row" style="margin-left: 35px;">                    <label class="title-lable col-sm-4" style="margin-top:10px">今日工作列表</label>                    <label class="title-lable col-sm-4" ng-show="currentType == \'1\'" style="margin-top:10px">今日工作看板</label>                </div>                <div class="row" style="margin-left: 115px;">                    <div id="dashboardConfigContainer" class="col-sm-4">                        <label ng-if="currentType == \'1\'">                            <input type="checkbox" id="checkAll" />                            <span>全选</span>                        </label>                        <label class="edit-checkbox" ng-repeat="item in currentTypeConfig" style="display:block">                            <input type="checkbox" class="todayworkConfig" ng-checked="{{item.value.toString().toLowerCase() == \'true\'}}" value="{{ item.name }}" />                            <span>{{item.description}}</span>                        </label>                    </div>                    <div class="col-sm-4" style="padding-left: 50px;" ng-show="currentType == \'1\'">                        <label ng-if="currentType == \'1\'" >                            <input type="checkbox" ng-click="onSelectedAll()" ng-model="checkboxState.isAllSelectedDashboardBlock"/>全选                        </label>                        <label ng-repeat="item in frontDashboardBlocks">                            <input type="checkbox" ng-click="onSelectedItem()" ng-model="item.value">{{item.description}}                        </label>                    </div>                </div>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="margin-top:-10px">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="save()">保存</button>    </div></div>');templateCache.put('/app/tenant/views/account-acceptance-view.html','<div class="account-acceptance-view">    <style scoped>        .account-acceptance-wrapper {            background-color: #f3f7f7;            width: 700px;            padding: 30px;        }        .account-acceptance-wrapper .label-width {            width: 130px;            text-align: right;        }        .account-acceptance-wrapper .label-width label {            font-weight: normal;            color: #9397a2;        }        .account-acceptance-wrapper .acceptance-btn {            color: #00a6c9;            cursor: pointer;        }    </style>    <div class="account-acceptance-wrapper">        <!--<div class="form-group clearfix">            <div class="col-sm-2 label-width">                <label>账户类型</label>            </div>            <div class="col-sm-9">                <span class="text">{{::officeInfo.bussinessVersion }}<span>      </div>    </div>-->    <div class="form-group clearfix">      <div class="col-sm-2 label-width">        <label>诊所名称</label>      </div>      <div class="col-sm-9">        <span class="text">{{::officeInfo.name}}<span>      </div>    </div>    <div class="form-group clearfix">      <div class="col-sm-2 label-width">        <label>诊所联系人</label>      </div>      <div class="col-sm-9">        <span class="text">{{::officeInfo.contactName}}<span>      </div>    </div>    <div class="form-group clearfix">      <div class="col-sm-2 label-width">        <label>联系电话</label>      </div>      <div class="col-sm-9">        <span class="text">{{::officeInfo.contactPhoneNumber}}<span>      </div>    </div>    <div class="form-group clearfix">      <div class="col-sm-9" style="margin-left:40px;">        <div class="text acceptance-btn" ng-click="acceptanceDialog()">查看实施验收清单<span>（{{officeInfo.isAccepted ? \'已验收\':\'未验收\'}}）</span></div>        </div>    </div></div>');templateCache.put('/app/tenant/views/ali-turn-on.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .firstback {            margin-left: auto;            margin-right: auto;            width:900px;            height:260px;        }        .firstline {            height:160px;        }        .second-back {            width:100%;            height:530px;            background:#2ba2ff;        }        .seconde-content {            margin-left: auto;            margin-right: auto;            width:900px;            height:530px;            padding-top:20px;        }        .slogn {            margin-left: auto;            margin-right: auto;            background:#ffffff;            width:300px;            height:26px;            font-size:18px;            color:#2ba2ff;            text-align:center;            border-radius:13px;        }        .middle {            margin-left: auto;            margin-right: auto;        }        .cotent-text {            float:left;            color:#ffffff;            font-size:16px;            width:300px;        }            .cotent-text a {                color:#ffffff;                font-size:16px;            }        .contactTable {            width:600px;            margin-top:6px;            margin-left:160px;        }            .contactTableTd {                color:#ffffff;                font-size:16px;                text-align:center;            }    </style>    <div class="firstback">        <div class="col-md-4 firstline"><img style="margin-top:50px;margin-left:8px;" src="../Content/imgs/alipay/zhifu.png" /></div>        <div class="col-md-4 firstline"><img style="margin-top:20px;margin-left:34px;" src="../Content/imgs/alipay/huabei.png" /></div>        <div class="col-md-4 firstline"><img style="margin-top:50px;margin-left:39px;" src="../Content/imgs/alipay/fuwuchuang.png" /></div>        <div class="col-md-4">领健信息作为支付宝口腔行业技术承接方，向诊所无偿提供扫码支付对接服务</div>        <div class="col-md-4">花呗分期首次面向高端民营门诊开放，领健信息作为蚂蚁金服唯一口腔平台合作伙伴，诚邀首批入驻门诊，入驻门诊享受推广和引流特权，期待您的加入</div>        <div class="col-md-4">支付宝渠道推广引流，为口腔门诊带来的稳定的客户，线上进行口碑宣传，建立自己的互联网品牌</div>    </div>    <div class="second-back">        <div class="seconde-content">            <div class="slogn">申请加入e看牙-支付宝联合运营</div>            <div class="middle" style="margin-top:20px;width:60px;"><img id="step1" src="../Content/imgs/alipay/gray1.png" /></div>            <div class="middle" style="margin-top:6px;width:0px;height:70px;border-left:3px solid #ffffff;" />            <div class="middle" style="margin-top:6px;width:60px;"><img id="step2" src="../Content/imgs/alipay/gray2.png" /></div>            <div class="middle" style="margin-top:6px;width:594px;"><img src="../Content/imgs/alipay/line.png" /></div>            <img style="float:left;margin-left:124px;margin-top:6px;" id="step3" src="../Content/imgs/alipay/gray3.png" />            <img style="float:left;margin-left:237px;margin-top:6px;" id="step4" src="../Content/imgs/alipay/gray4.png" />            <img style="float:left;margin-left:237px;margin-top:6px;" id="step5" src="../Content/imgs/alipay/gray5.png" />            <div class="cotent-text" style="margin-top:-350px;margin-left:490px;">                <a target="_blank" href="https://memberprod.alipay.com/account/reg/emailMerchant.htm">●申请支付宝企业账号并实名认证</a>                        <br/>                <a target="_blank" href="http://help.alipay.com/lab/help_detail.htm?help_id=211702&keyword=%C6%F3%D2%B5%D6%A7%B8%B6%B1%A6">●如何申请？</a>            <br/>            <span>●支付宝企业号已开通，联系领健客服</span>            </div>            <div class="cotent-text" style="margin-top:-208px;margin-left:490px;"><a href="" ng-click="askForopen(\'FacetofacePay\')">●申请支付宝当面付功能</a></div>            <div class="cotent-text" style="margin-top:6px;margin-left:105px;"><a href="" ng-click="askForopen(\'ScanCodePay\')">申请支付宝收款</a></div>            <div class="cotent-text" style="margin-top:6px;margin-left:0px;"><a href="" ng-click="askForopen(\'SpentByStagePay\')">申请花呗分期</a></div>            <div class="cotent-text" style="margin-top:-24px;margin-left:670px;"><a href="" ng-click="askForopen(\'ServiceWindow\')">申请入驻支付宝服务窗</a></div>            <div style="margin-top:106px;width:900px;height:0px;border-top:1px solid #ffffff;" />            <table class="contactTable">                <tbody>                    <tr>                        <td class="contactTableTd"><img src="../Content/imgs/alipay/QQicon.png" />                            <a style="color:#ffffff;font-size:16px;" href="tencent://message/?uin=3103628737&Site=linkedcare.cn&Menu=yes">客服QQ：3103628737</a></td>                        <td class="contactTableTd"><img src="../Content/imgs/alipay/phone_icon.png" />客服电话：4008213720</td>                    </tr>                </tbody>            </table>         </div>    </div></div>');templateCache.put('/app/tenant/views/ali-upload-view.html','<input id="payKeyUploadPanel" ali-upload-view style="display:none" type="file"       add="addUpload(e,data)"       send="beforeUpload(e,data)"       start="uploadStart(e,data)"       stop="uploadStop(e,data)"       uploadprogress="uploadProgressed(e,data)"       done="uploadFinished(e,data)"       fail="uploadFailed(e,data)" /><div ng-show="systemConfigs.allowSetAli">    <div>        <label class="control-label">RSA公钥：</label>        <a id="rsaPublicKey" style="font-weight: bolder; cursor: pointer" ng-show="isEdit">设置</a>        <a ng-click="onClickBrowser(\'public\')" style="font-weight: bolder; cursor: pointer">{{public}}</a>    </div>    <label style="width:580px;margin-left:10px;" ng-show="public==\'隐藏\'">{{onlinePayAccount.aliPublicKey}}</label></div><div ng-show="systemConfigs.allowSetAli">    <div>        <label class="control-label">RSA私钥：</label>        <a id="rsaPrivateKey" style="font-weight: bolder; cursor: pointer" ng-show="isEdit">设置</a>        <a ng-click="onClickBrowser(\'private\')" style="font-weight: bolder; cursor: pointer" id="private">{{private}}</a>    </div>    <label style="width: 580px; margin-left: 10px;" ng-show="private==\'隐藏\'">{{onlinePayAccount.aliPrivateKey}}</label></div><!--<div ng-show="systemConfigs.allowSetWeixin">    <div>        <label class="control-label">微信key：</label>        <a id="weixinKey" style="font-weight: bolder; cursor: pointer" ng-show="isEdit">设置</a>        <a ng-click="onClickBrowser(\'weixinKey\')" style="font-weight: bolder; cursor: pointer">{{weixinKey}}</a>    </div>    <label style="width:580px;margin-left:10px;" ng-show="public==\'隐藏\'">{{onlinePayAccount.weixinKey}}</label></div>-->');templateCache.put('/app/tenant/views/base-data-config-view.html','<div class="ares-main-content base-data-config-container" ares-clean-kendo>    <style scoped>        .base-data-config-container {            position: relative;        }            .base-data-config-container hr {                margin: 0;            }            .base-data-config-container .config-section-header {                height: 50px;                line-height: 50px;                font-size: 16px;                padding-left: 16px;                width: 100%;                background: #eff7ff;            }            .base-data-config-container .config-section {                padding-left: 16px;                margin-bottom: 20px;            }            .base-data-config-container .config-on {                background: transparent url(/Content/imgs/icon-on-off.png) no-repeat 0 0 !important;                width: 40px !important;                height: 18px !important;                background-size: cover;                transform: scale(1);                cursor: pointer;            }            .base-data-config-container .config-off {                background: transparent url(/Content/imgs/icon-on-off.png) no-repeat -40px 0 !important;                width: 40px !important;                height: 18px !important;                background-size: cover;                transform: scale(1);                cursor: pointer;            }            .base-data-config-container .switch-item {                width: 350px;                margin: 10px 0;            }                .base-data-config-container .switch-item .switch-item-switcher {                    margin-left: 20px;                }            .config-container .edit-mask {                width: 100%;                height: 100%;                background: #d8d8d8;                opacity: 0.2;                z-index: 1;                position: absolute;                left: 0;            }    </style>    <div class="config-container">        <div class="edit-mask" ng-hide="isEdit"></div>        <div class="config-section-header">            收费项目必填项        </div>        <div class="config-section">            <div class="clearfix switch-item">                <div class="pull-left">项目编码</div>                <div class="pull-left switch-item-switcher" ng-disabled="!isEdit"                     ng-class="configs.chargeItemRequired.procedureCode ? \'config-on\':\'config-off\'"                     ng-click="onChargeItemProcedureCodeRequiredChanged()">                    &nbsp;                </div>            </div>        </div>    </div></div><div class="config-section">    <div class="form-group" style="padding-left:20px;margin-left:17px;">        <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="save()">保存</button>        <button type="button" class="btn" ng-show="isEdit" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/tenant/views/dental-lab-config-view.html','<div class="ares-main-content dental-lab-config-container enyo" ares-clean-kendo>    <style scoped>        body.ares3 .dental-lab-config-container .config-top-bar.fix {            left: 88px;            width: calc(100% - 88px);        }        body.ares3.submenu-visible .dental-lab-config-container .config-top-bar.fix {            width: calc(100% - 208px);            left: 208px;        }        body.ares3 .dental-lab-config-container .config-top-bar .config-top-bar-actions .action {            margin-top: -5px;        }        .dental-lab-config-container {            position: relative;            height: 100%;        }            .dental-lab-config-container hr {                margin: 0;            }            .dental-lab-config-container .config-section-header {                height: 50px;                line-height: 50px;                font-size: 16px;                padding-left: 16px;                width: 100%;                background: #eff7ff;            }            .dental-lab-config-container .config-section-header-lite {                height: 30px;                line-height: 30px;                font-size: 16px;                padding-left: 16px;                width: 100%;            }            .dental-lab-config-container .config-section {                padding-left: 16px;                margin-bottom: 20px;            }            .dental-lab-config-container .config-title {                margin-top: 20px;                margin-bottom: 20px;                font-size: 16px;            }            .dental-lab-config-container label {                margin-left: 10px;                font-weight: normal;                min-width:60px;             }            .dental-lab-config-container .config-top-bar {                margin-top: -46px;                margin-right: 20px;                height: 46px;                width: 200px;                position: absolute;                right: 0;            }                .dental-lab-config-container .config-top-bar .title {                    display: none;                    font-size: 18px;                    line-height: 50px;                    color: #00a6c9;                    float: left;                }                .dental-lab-config-container .config-top-bar .config-top-bar-actions {                    width: 100%;                }                    .dental-lab-config-container .config-top-bar .config-top-bar-actions .action {                        float: right;                        width: 100px;                        line-height: 32px;                        font-size: 14px;                        color: #fff;                        background: #00a6c9;                        text-align: center;                        cursor: pointer;                    }                    .dental-lab-config-container .config-top-bar .config-top-bar-actions .cancel {                        float: right;                        line-height: 32px;                        margin-right: 30px;                        color: #575d6a;                        cursor: pointer;                        font-size: 14px;                    }                .dental-lab-config-container .config-top-bar.fix {                    width: calc(100% - 100px);                    height: 50px;                    position: fixed;                    top: 50px;                    left: 100px;                    background: #fff;                    box-shadow: 0 3px 10px 0 rgba(199, 207, 219, 0.72);                    padding-left: 18px;                    border-bottom: 3px solid #00a6c9;                    margin-top: 0;                    z-index: 1;                }                    .dental-lab-config-container .config-top-bar.fix .title {                        display: block;                    }                    .dental-lab-config-container .config-top-bar.fix .action {                        line-height: 50px;                        font-size: 16px;                    }                    .dental-lab-config-container .config-top-bar.fix .cancel {                        line-height: 50px;                        font-size: 16px;                    }            .dental-lab-config-container .edit-mask {                width: 100%;                height: 100%;                background: #d8d8d8;                opacity: 0.2;                z-index: 1;                position: absolute;                top: 46px;                left: 0;            }    </style>    <div class="edit-mask" ng-hide="isEdit"></div>    <div class="config-top-bar">        <div class="title">技加工配置</div>        <div class="config-top-bar-actions clearfix">            <div class="action" ng-click="beginEditConfig()" ng-show="!isEdit">开启编辑</div>            <div class="action" ng-click="saveConfig()" ng-show="isEdit">保存</div>            <span ng-show="isEdit" ng-click="cancelEditConfig()" class="cancel">取消</span>        </div>    </div>    <div class="config-section-header">        基础功能    </div>    <div class="config-section">        <div class="config-title">            配置技加工可以操作的流程状态        </div>        <div class="dental-lab-order-status">            <span style="margin-right: 6px;">技加工状态</span>            <input type="checkbox" data-value="10" id="dentalLabOrderStatus10" onclick="return false;"  class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus10">待提交</label>            <input type="checkbox" data-value="11" id="dentalLabOrderStatus11" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus11">待接收</label>            <input type="checkbox" data-value="12" id="dentalLabOrderStatus12" onclick="return false;" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus12">待取模</label>            <input type="checkbox" data-value="13" id="dentalLabOrderStatus13" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus13">待评审</label>            <input type="checkbox" data-value="15" id="dentalLabOrderStatus15" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus15">加工中</label>            <input type="checkbox" data-value="16" id="dentalLabOrderStatus16" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus16">待配送</label>            <input type="checkbox" data-value="20" id="dentalLabOrderStatus20" onclick="return false;" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus20">待签收</label>            <input type="checkbox" data-value="30" id="dentalLabOrderStatus30" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus30">待验收</label>            <input type="checkbox" data-value="40" id="dentalLabOrderStatus40" onclick="return false;" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus40">已完成</label>            <input type="checkbox" data-value="50" id="dentalLabOrderStatus50" class="inventory-checkbox" ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="dentalLabOrderStatus50">已作废</label>        </div>    </div>    <div class="config-section">        <div class="config-title">            技加工单必填项配置        </div>        <div class="dental-lab-order-required-fields">            <input type="checkbox" data-value="0" id="required-field-0" name="toothCode" class="inventory-checkbox">            <label class="inventory-checkbox-label" for="required-field-0">牙位</label>            <input type="checkbox" data-value="1" id="required-field-1" name="toothColor" class="inventory-checkbox">            <label class="inventory-checkbox-label" for="required-field-1">牙色</label>            <input type="checkbox" data-value="2" id="required-field-2" name="attachment" class="inventory-checkbox">            <label class="inventory-checkbox-label" for="required-field-2">附件</label>            <input type="checkbox" data-value="3" id="required-field-3" name="designRequirements" class="inventory-checkbox">            <label class="inventory-checkbox-label" for="required-field-3">设计要求</label>            <input type="checkbox" data-value="4" id="required-field-4" name="note" class="inventory-checkbox">            <label class="inventory-checkbox-label" for="required-field-4">备注</label>        </div>    </div></div>');templateCache.put('/app/tenant/views/free-field-config-view.html','<div class="ares-main-content free-field-config-view" ares-clean-kendo>    <style>        body.ares3 .free-field-config-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }    </style>    <div>        <table style="width:100%;margin-left:10px;margin-top:10px;">            <tr>                <td style="width:45%;">                    <free-field-component target-type="1"></free-field-component>                </td>                <td style="width:50px;"></td>                <td style="width:45%;">                    <free-field-component target-type="2"></free-field-component>                </td>                <td></td>            </tr>            <tr>                <td style="width:45%;">                    <free-field-component target-type="3"></free-field-component>                </td>                <td style="width:50px;"></td>            </tr>        </table>    </div>    <br />    <br /></div>');templateCache.put('/app/tenant/views/health-insurance-config-view.html','<div class="health-insurance-config-wrapper">    <div id="healthInsuranceConfigContainer">    </div></div>');templateCache.put('/app/tenant/views/membership-card-number-config-view.html','<div class="membership-card-number-config-view">    <style scoped>        .membership-card-number-config-view label {            font-size: 13px;            font-weight: 400;            margin: 0;        }        .membership-card-number-config-view .control-label {            font-size: 13px;            font-weight: 400;            line-height: 32px;            color: #575d6a;            margin: 0;            text-align: right;            min-width: 80px;            display: inline-block;            vertical-align: top;            margin-right: 10px;        }        .membership-card-number-config-view .row-cell {            display: inline-block;            vertical-align: top;            min-height: 32px;            line-height: 32px;        }        .membership-card-number-config-view .code-generate-rule-view .rule-config-wrapper {            border: 1px solid #D9D9D9;            width: 100%;        }            .membership-card-number-config-view .code-generate-rule-view .rule-config-wrapper .rule-config-header {                border-bottom: 1px solid #D9D9D9;            }            .membership-card-number-config-view .code-generate-rule-view .rule-config-wrapper .rule-config-footer {                border-top: 1px dashed #D9D9D9;                padding-top: 10px;            }                .membership-card-number-config-view .code-generate-rule-view .rule-config-wrapper .rule-config-footer .rule-config-preview {                    font-size: 20px;                    font-weight: 600;                }        .membership-card-number-config-view .action {            margin-top: 3px;        }        .membership-card-number-config-view .btn-primary {            border-radius: 0;            background-color: #00a6c9;            border-color: white;        }    </style>    <div class="form-group">        <label class="control-label">            会员卡号        </label>        <div class="row-cell" style="width:60%;">            <div>                <input name="membership-card-num" id="input-by-user" type="radio" class="enyo-radio"                       value="0"                       ng-disabled="!editable"                       ng-model="membershipCardNumConfig.optionValue" />                <label class="enyo-radio-label" for="input-by-user">手动填写会员卡号</label>            </div>            <div>                <input name="membership-card-num" id="auto-generate" type="radio" class="enyo-radio"                       value="1"                       ng-disabled="!editable"                       ng-model="membershipCardNumConfig.optionValue" />                <label class="enyo-radio-label" for="auto-generate">系统自动生成</label>            </div>            <div class="code-generate-rule-view" ng-if="membershipCardNumConfig.optionValue==1">                <div class="rule-config-wrapper">                    <div class="form-group rule-config-header">                        <label class="control-label">卡号构成：</label>                        <div class="row-cell">                            <input type="checkbox" class="enyo-checkbox" id="card-num-prefix"                                   ng-model="viewState.isPrefixChecked"                                   ng-change="resetViewState()"                                   ng-disabled="!editable" />                            <label class="enyo-checkbox-label" for="card-num-prefix"> 前缀</label>&nbsp;&nbsp;+&nbsp;&nbsp;                            <input type="checkbox" class="enyo-checkbox" id="card-num-other"                                   ng-model="viewState.isDatePartChecked"                                   ng-change="resetViewState()"                                   ng-disabled="!editable" />                            <label class="enyo-checkbox-label" for="card-num-other"> 日期 + 流水号</label>                        </div>                    </div>                    <div class="form-group rule-config-body">                        <label class="control-label">前缀：</label>                        <div class="row-cell">                            <input type="text" class="form-control"                                   ng-model="rule.prefix"                                   ng-change="onPrefixChanged()"                                   ng-disabled="!editable || !viewState.isPrefixChecked" />                        </div>                    </div>                    <div class="form-group">                        <label class="control-label">日期：</label>                        <input type="radio" class="enyo-radio" name="card-num-date-part" id="card-num-part-year"                               ng-checked="rule.dateFormat==\'yyyy\'"                               ng-click="setDateFormat(\'yyyy\')"                               ng-disabled="!editable || !viewState.isDatePartChecked" />                        <label class="enyo-radio-label" for="card-num-part-year"> 年</label>&nbsp;&nbsp;&nbsp;&nbsp;                        <input type="radio" class="enyo-radio" name="card-num-date-part" id="card-num-part-year-month"                               ng-checked="rule.dateFormat==\'yyyyMM\'"                               ng-click="setDateFormat(\'yyyyMM\')"                               ng-disabled="!editable || !viewState.isDatePartChecked" />                        <label class="enyo-radio-label" for="card-num-part-year-month"> 年月</label>&nbsp;&nbsp;&nbsp;&nbsp;                        <input type="radio" class="enyo-radio" name="card-num-date-part" id="card-num-part-year-month-date"                               ng-checked="rule.dateFormat==\'yyyyMMdd\'"                               ng-click="setDateFormat(\'yyyyMMdd\')"                               ng-disabled="!editable || !viewState.isDatePartChecked" />                        <label class="enyo-radio-label" for="card-num-part-year-month-date"> 年月日</label>                    </div>                    <div class="form-group">                        <label class="control-label">流水号：</label>                        <div class="row-cell">                            <select class="form-control" style="width:100px;"                                    kendo-drop-down-list ng-model="rule.seqNumberDigits"                                    ng-change="generatePreviewCode()"                                    ng-disabled="!editable">                                <option value="2">2</option>                                <option value="3">3</option>                                <option value="4">4</option>                                <option value="5">5</option>                                <option value="6">6</option>                                <option value="7">7</option>                                <option value="8">8</option>                            </select>                            <label>起始值</label>                            <div class="row-cell">                                <input type="number" class="form-control"                                       ng-change="onInitialValueChanged()"                                       ng-model="rule.initialValue"                                       ng-disabled="!editable" />                            </div>                            <div>                                <input type="checkbox" class="enyo-checkbox" id="clear-per-period"                                       ng-model="rule.isAutoReset"                                       ng-disabled="!editable" />                                <label for="clear-per-period" class="enyo-checkbox-label">                                    每个周期流水号清零                                </label>                                <div class="row-cell enyo-text-info" data-toggle="tooltip" data-placement="bottom"                                     title="每个周期流水号清零是指若卡号构成包含日期，每日/月/年流水号开始新的周期。例如：卡号包含年月日，则每日流水号都从01开始编号。如果要一直延用流水号，请不要勾选此项">                                    <i class="iconfont icon-xinxi1"></i>                                </div>                            </div>                        </div>                    </div>                    <div class="form-group rule-config-footer">                        <label class="control-label">卡号预览：</label>                        <div class="row-cell rule-config-preview">                            <span>{{viewState.previewCode}}</span>                        </div>                    </div>                </div>            </div>            <div class="action">                <button class="btn btn-primary" ng-show="!editable" ng-click="editable=true">编辑</button>                <button class="btn btn-primary" ng-show="editable" ng-click="onSave()">保存</button>            </div>        </div>    </div></div>');templateCache.put('/app/tenant/views/office-appointment-required-view.html','<div class="ares-main-content" ares-clean-kendo>    <fieldset>        <div style="margin-top:10px;padding-left:17px;">            <label class="edit-checkbox" ng-repeat="item in configs" style="display:block; margin-left:20px" >                <input type="checkbox" class="apptItem" ng-checked="{{item.required}}"                       value="{{item.name}}" ng-disabled="!isEdit"/>                <span>{{item.text}}</span>            </label>        </div>    </fieldset>    <div class="form-group" style="padding-left:20px;margin-top:30px;margin-left:17px;">        <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="save()">保存</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/tenant/views/office-charge-required-view.html','<div class="ares-main-content charge-required-info" ares-clean-kendo>    <style type="text/css">        .charge-required-info .chargeTypeContainer:hover {            background-color: #F5F5F5;        }        .charge-required-info .chargeType {            height: 20px;            font-size: 16px;        }            .charge-required-info .chargeType:hover {                color: #6BC9DC;                cursor: pointer;            }            .charge-required-info .chargeType .p {                margin-left: 5px;                margin-top: 10px;            }        .charge-required-info .selected {            color: #6BC9DC;        }        .charge-required-info .unselected {            color: #939393;        }        .charge-required-info .select-group {            float: left;            width: 100%;        }            .charge-required-info .select-group .title {                text-align: left;                padding-left: 20px;                padding-right: 0px;                margin: 6px 0;            }        .charge-required-info .switch {            display: inline-block;            background-image: url(images/bg-switch.png);            background-size: 42px 36px;            width: 42px;            height: 18px;        }            .charge-required-info .switch.on {                background-position-y: 0;            }            .charge-required-info .switch.off {                background-position-y: -18px;            }    </style>    <table>        <tr>            <td style="vertical-align: top;width: 200px;">                <div class="panel panel-default" style="width: 200px;min-height:500px">                    <div class="panel-heading" style="height:55px">                        <h6 class="panel-title pull-left" style="margin-left:5px">收费类型</h6>                    </div>                    <div ng-repeat="type in chargeTypes" ng-if="type.isAllowed" class="panel-body chargeTypeContainer" style="padding-left: 15px; padding-top:0px">                        <div class="chargeType" ng-class="{\'unselected\':$index!=courrentIndex,\'selected\':$index==courrentIndex}"                             ng-value="type.name" ng-click="onChargeTypeSelectHandle($index,type.text)">                            <p class="p">{{type.text}}</p>                        </div>                    </div>                </div>            </td>            <td style="vertical-align: top;padding-left: 5px; width:1100px">                <div class="panel panel-default" style="min-height:500px">                    <div class="panel-heading clearfix" style="padding-left:25px">                        <h6 class="panel-title pull-left">收费类型:{{currentSelectedType}}</h6>                    </div>                    <div class="panel-body">                        <div class="control-group" style="width: 70%;height: 180px;">                            <div class="form-group select-group">                                <label for="required" class="control-label col-sm-2 title">必填条件:</label>                                <div class="col-sm-8">                                    <input id="required" name="required" style="width:350px" />                                </div>                            </div>                            <div class="form-group select-group">                                <label for="groupRequired" class="control-label col-sm-2 title">组合必填条件:</label>                                <div class="col-sm-8">                                    <select id="groupRequired" name="groupRequired" class="not-ignore" style="width:350px"></select>                                </div>                            </div>                            <div class="form-group select-group" style="margin-top:-10px">                                <label class="control-label col-sm-2 title"></label>                                <div class="col-sm-8">                                    <span class="not-ignore" style="width:350px; color:#939393">                                        *注：收费只需选中其中一个角色，即满足组合必填条件                                    </span>                                </div>                            </div>                            <div class="form-group select-group" ng-show="currentSelectedType!=\'简易收费\'">                                <label for="deductionRequired" class="control-label col-sm-4 title">带有划扣项目时咨询师必填:</label>                                <div class="col-sm-4">                                    <a style="display: block;margin: 7px 0;height: 18px;"                                       ng-click="onSwitchClick()">                                        <i ng-class="currentDeduction? \'switch on\':\'switch off\'"></i>                                    </a>                                </div>                            </div>                        </div>                        <div class="form-group" style="padding-left:20px;margin-left:17px;">                            <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>                            <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="saveConfigs()">保存</button>                            <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="cancel()">取消</button>                        </div>                    </div>                </div>            </td>        </tr>    </table></div>');templateCache.put('/app/tenant/views/office-check-in-required-view.html','<div class="ares-main-content" ares-clean-kendo>    <fieldset>        <div style="margin-top:10px;padding-left:17px;">            <label class="edit-checkbox" ng-repeat="item in configs" style="display:block; margin-left:20px">                <input type="checkbox" class="checkInItem" ng-checked="{{item.required}}"                       value="{{item.name}}" ng-disabled="!isEdit" />                <span>{{item.text}}</span>            </label>        </div>    </fieldset>    <div class="form-group" style="padding-left:20px;margin-top:30px;margin-left:17px;">        <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="save()">保存</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/tenant/views/office-home-view.html','<style>    .office-home-view-tabs ul.nav-tabs li:nth-last-child(2) {        margin-right: 200px;    }</style><ares-tab states="states" root-state="officeSettings" class="office-home-view-tabs"></ares-tab>');templateCache.put('/app/tenant/views/office-info-edit-view.html','<div class="ares-main-content office-info-edit-view" ares-clean-kendo ng-style="{\'min-height\': isAres3 ? \'unset\': \'900px\'}">    <style>        body.ares3 .office-info-edit-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }        .tab-rm .control-label {            margin-bottom: 25px;        }        .practice-office-edit .radio-inline {            padding-top: 0;        }        #l-map {            height: 400px;            width: 500px;        }        #searchMap {            position: relative;        }    </style>    <div style="min-height:900px;">        <form id="mainForm" class="form-horizontal practice-office-edit" style="width:950px;padding:10px;">            <div class="control-group">                <table class="tab-rm" style="width:100%">                    <tr>                        <td width="15%">                            <label for="name" class="control-label col-sm-10">诊所名称</label>                        </td>                        <td width="30%">                            <div class="form-group">                                <input class="form-control" ng-model="currentOffice.name" id="name" name="name" />                            </div>                        </td>                        <td rowspan="6" width="15%" align="right">                            <label class="control-label" style="margin-right:5px;">诊所Logo</label>                        </td>                        <td rowspan="6" width="40%">                            <ares-picture-view picture-id="{{currentOffice.pictureId}}" on-picture-saved="updateOfficePicture"                                               height="200" width="0" max-width="300" min-width="200" alt="诊所Logo"                                               editable="true"                                               is-show-edit-button="true"></ares-picture-view>                        </td>                    </tr>                    <tr>                        <td>                            <div>                                <label for="abbreviation" class="col-sm-10 control-label" style="display:inline-block">诊所简称&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign" style=" float: right; top:10px; right: 35px;"                                      tooltip="诊所简称用于简明扼要的标识该诊所，比如“浦东店”，“金科路”等，最多8个汉字，适用于系统需要显示诊所名，但是诊所名又比较长的场合。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="form-group input-container">                                <input id="abbreviation" name="abbreviation" maxlength="8" class="form-control" ng-model="currentOffice.abbreviation" style="width:100px;" />                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label for="code" class="col-sm-10 control-label">诊所编码</label>                        </td>                        <td>                            <div class="form-group">                                <input class="form-control" ng-model="currentOffice.code" id="code" name="code" />                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label for="phoneNumber" class="col-sm-10 control-label">诊所电话</label>                        </td>                        <td>                            <div class="form-group">                                <input class="form-control" ng-model="currentOffice.phoneNumber" id="phoneNumber" name="phoneNumber" />                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label for="institutionCode" class="col-sm-10 control-label">医疗机构代码</label>                        </td>                        <td>                            <div class="form-group">                                <input class="form-control" ng-model="currentOffice.institutionCode" id="institutionCode" name="institutionCode" />                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label for="province" class="col-sm-10 control-label">所在地区</label>                        </td>                        <td>                            <div class="form-group">                                <input class="form-control" style="width: 90px; display: inline" ng-model="currentOffice.province" id="province" name="province" />                                <input class="form-control" style="width: 90px; display: inline" ng-model="currentOffice.city" id="city" name="city" />                                <input class="form-control" style="width: 90px; display: inline" ng-model="currentOffice.district" id="district" name="district" />                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label for="address" class="col-sm-10 control-label">详细地址</label>                        </td>                        <td>                            <div class="form-group">                                <label style="width: 160px;">{{currentOffice.province}}{{currentOffice.city}}{{currentOffice.district}}</label>                                <input class="form-control" style="width: 120px; display: inline" ng-model="currentOffice.address" id="address" name="address" />                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">营业时间</label>                        </td>                        <td>                            <div class="form-group">                                <input type="text" id="openTime" style="max-width:100px;width:90px;" ng-model="currentOffice.openTime" />~                                <input type="text" id="closeTime" style="max-width:100px;width:90px;" ng-model="currentOffice.closeTime" />                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label for="website" class="col-sm-10 control-label">诊所网址</label>                        </td>                        <td>                            <div class="form-group">                                <input class="form-control" ng-model="currentOffice.website" id="website" name="website" />                            </div>                        </td>                    </tr>                    <tr>                        <td colspan="4">&nbsp;</td>                    </tr>                    <tr>                        <td colspan="4"><b>地理位置信息</b></td>                    </tr>                    <tr>                        <td valign="top" width="15%">                            <label class="col-sm-10 control-label" style="margin-top:6px;">地理位置</label>                            <br />                            <br />                            <br />                            <button class="btn btn-primary" ng-click="save()">保存</button>                            <button class="btn btn-primary" ng-click="cancelOffice(currentOffice)">取消</button>                        </td>                        <td valign="top">                            <div id="r-result" style="width: 230px;margin-left:-16px;">                                <input type="text" id="suggestId" name="location" class="form-control" size="20" ng-model="currentOffice.officeLocaltion.location" placeholder="{{currentOffice.officeLocaltion.location}}" style="width: 230px; margin-top: 8px;" />                            </div>                            <div id="searchResultPanel" style="border:1px solid #C0C0C0;width:230px;height:auto;display:none;"></div>                            <div id="searchMap"></div>                        </td>                        <td colspan="2" width="55%" rowspan="2"><div id="l-map"></div></td>                    </tr>                    <tr>                        <td colspan="2">                            <!--<button class="btn btn-primary" ng-click="save()">保存</button>            <button class="btn btn-primary" ng-click="cancelOffice(currentOffice)">取消</button>-->                        </td>                    </tr>                </table>            </div>        </form>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/tenant/views/office-info-view.html','<div class="ares-main-content office-info-view" ares-clean-kendo>    <style scoped>        body.ares3 .office-info-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }        .tab-rm .control-label {            margin-bottom: 15px;            margin-left: 10px;        }        #l-map {            height: 400px;            width: 500px;        }    </style>    <div>        <form class="form-horizontal" style="width:850px;padding:10px;">            <div class="control-group">                <table class="tab-rm" style="width:100%">                    <tr>                        <td width="15%">                            <label class="control-label col-sm-10">诊所名称</label>                        </td>                        <td width="30%">                            <div class="form-group">                                <label class="control-content">{{currentOffice.name}}</label>                            </div>                        </td>                        <td rowspan="6" width="15%" align="right">                            <label class="control-label" style="margin-right: 5px;">诊所Logo</label>                        </td>                        <td rowspan="6" width="40%">                            <ares-picture-view picture-id="{{currentOffice.pictureId}}" on-picture-saved="updateOfficePicture"                                               height="200" width="200" max-width="300" min-width="200" alt="诊所Logo"                                               is-show-edit-button="true"></ares-picture-view>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">诊所简称</label>                        </td>                        <td>                            <div class="form-group">                                <label class="control-content">{{currentOffice.abbreviation}}</label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">诊所编码</label>                        </td>                        <td>                            <div class="form-group">                                <label class="control-content">{{currentOffice.code}}</label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">诊所电话</label>                        </td>                        <td>                            <div class="form-group">                                <label class="control-content">{{currentOffice.phoneNumber}}</label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">医疗机构代码</label>                        </td>                        <td>                            <div class="form-group">                                <label class="control-content">{{currentOffice.institutionCode}}</label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">所在地区</label>                        </td>                        <td>                            <div class="form-group">                                <label class="control-content">{{currentOffice.province}}{{currentOffice.city}}{{currentOffice.district}}</label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">详细地址</label>                        </td>                        <td>                            <div class="form-group">                                <label class="control-content">{{currentOffice.address}}</label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">营业时间</label>                        </td>                        <td>                            <div class="form-group">                                <label class="control-content">{{currentOffice.openTime}}~{{currentOffice.closeTime}}</label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <label class="col-sm-10 control-label">诊所网址</label>                        </td>                        <td>                            <div class="form-group">                                <label class="control-content">{{currentOffice.website}}</label>                            </div>                        </td>                    </tr>                    <tr>                        <td colspan="4">&nbsp;</td>                    </tr>                    <tr>                        <td colspan="4"><b>地理位置信息</b></td>                    </tr>                    <tr>                        <td valign="top">                            <label class="col-sm-10 control-label">地理位置</label>                            <br />                            <br />                            <br />                            <button class="btn btn-primary" style="margin-left:25px;" ng-click="editOffice()">编辑</button>                        </td>                        <td valign="top">                            <div class="form-group">                                <label class="control-content">{{currentOffice.officeLocaltion.location}}</label>                            </div>                        </td>                        <td colspan="2" width="55%" rowspan="2"><div id="l-map"></div></td>                    </tr>                </table>            </div>        </form>    </div></div>');templateCache.put('/app/tenant/views/office-invoice-edit-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>    </style>    <div ng-hide="isEdit">        <form id="mainForm" class="form-horizontal" style="width:850px;padding:10px;">            <div class="form-group">                <label class="control-label col-sm-2" style=" padding-top: 0;">公司名称</label>                <div class="col-sm-8 input-container">                    <label>{{invoice.taxTitle}}</label>                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-2" style=" padding-top: 0;">纳税人识别号</label>                <div class="col-sm-8 input-container">                    <label>{{invoice.taxNo}}</label>                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-2" style=" padding-top: 0;">所在地区</label>                <div class="col-sm-8 input-container">                    <label>{{invoice.province}}{{invoice.city}}{{invoice.district}}</label>                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-2" style=" padding-top: 0;">地址</label>                <div class="col-sm-8 input-container">                    <label>{{invoice.address}}</label>                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-2" style=" padding-top: 0;">电话</label>                <div class="col-sm-8 input-container">                    <label>{{invoice.phoneNumber}}</label>                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-2" style=" padding-top: 0;">开户行</label>                <div class="col-sm-8 input-container">                    <label>{{invoice.bankName}}</label>                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-2" style=" padding-top: 0;">账户</label>                <div class="col-sm-8 input-container">                    <label>{{invoice.account}}</label>                </div>            </div>            <div class="form-group">                <label style="text-align: center;" class="control-label col-sm-8">注：*为必须填，后4项为增值税专业发票必填项</label>            </div>            <div style="margin-left:25px;">                <button class="btn btn-primary" ng-click="edit()">编辑</button>            </div>        </form>    </div>    <div ng-show="isEdit">        <form id="mainForm" class="form-horizontal practice-office-edit" style="width:850px;padding:10px;">            <div class="form-group">                <label for="taxTitle" class="control-label col-sm-2">* 公司名称</label>                <div class="col-sm-8 input-container">                    <input id="taxTitle" name="name" class="form-control" ng-model="invoice.taxTitle" />                </div>            </div>            <div class="form-group">                <label for="taxNo" class="control-label col-sm-2">* 纳税人识别号</label>                <div class="col-sm-8 input-container">                    <input id="taxNo" name="name" class="form-control" ng-model="invoice.taxNo" />                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-2">所在地区</label>                <div class="col-sm-8 input-container">                    <input class="form-control" style="width: 90px; display: inline" ng-model="invoice.province" id="province" name="province" />                    <input class="form-control" style="width: 90px; display: inline" ng-model="invoice.city" id="city" name="city" />                    <input class="form-control" style="width: 90px; display: inline" ng-model="invoice.district" id="district" name="district" />                </div>            </div>            <div class="form-group">                <label for="address" class="control-label col-sm-2">地址</label>                <div class="col-sm-8 input-container">                    <textarea id="address" name="name" class="form-control" ng-model="invoice.address" rows="3" />                </div>            </div>            <div class="form-group">                <label for="phoneNumber" class="control-label col-sm-2">电话</label>                <div class="col-sm-8 input-container">                    <input id="phoneNumber" name="name" class="form-control" ng-model="invoice.phoneNumber" />                </div>            </div>            <div class="form-group">                <label for="bank" class="control-label col-sm-2">开户行</label>                <div class="col-sm-8 input-container">                    <input id="bank" name="name" class="form-control" ng-model="invoice.bankName" />                </div>            </div>            <div class="form-group">                <label for="account" class="control-label col-sm-2">账户</label>                <div class="col-sm-8 input-container">                    <input id="account" name="name" class="form-control" ng-model="invoice.account" />                </div>            </div>            <div class="form-group">                <label style="text-align: center;" class="control-label col-sm-8">注：*为必须填，后4项为增值税专业发票必填项</label>            </div>            <div style="margin-left:25px;">                <button class="btn btn-primary" ng-click="updateInvoice()">保存</button>                <button class="btn btn-primary" ng-click="edit()">取消</button>            </div>        </form>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/tenant/views/office-list-view.html','<div class="ares-main-content" ares-clean-kendo ng-style="{\'height\' : isAres3 ? \'calc(100vh - 142px)\' : \'auto\'}">    <div style="margin-top:10px;">        <div class="form-group" style="padding-left:10px; margin-top:10px">            <!--<button type="button" class="btn btn-default" ng-click="add()">                <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 新增            </button>-->            <button type="button" class="btn btn-default" ng-click="edit()" ng-disabled="selectedItem == null">                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> 修改            </button>            <!--<button type="button" class="btn btn-default" ng-click="destroy()" ng-disabled="selectedItem == null">                <span class="glyphicon glyphicon-minus-sign" aria-hidden="true"></span> 删除            </button>-->        </div>        <!--<div>            <label class="control-label control-label2 ">您当前可创建诊所的数量为:{{minNum}}</label>        </div>-->        <div id="officeList"></div>    </div></div>');templateCache.put('/app/tenant/views/office-onlice-consult-create-field-view.html','<div class="ares-main-content office-patient-field" ares-clean-kendo>    <style scoped>        .office-patient-field {            margin-top: 10px;            width: 100%;            height: 350px;        }            .office-patient-field .content-center button {                border: 1px solid #ECECEC;                background-color: #FFFFFF;                border-radius: 4px;                cursor: pointer;            }                .office-patient-field .content-center button:hover {                    border: 1px solid #BEE5EC;                    border-radius: 4px;                    cursor: pointer;                    color: #BEE5EC;                }            .office-patient-field li {                list-style: none;                width: 98%;                height: 31px;                line-height: 26px;                text-align: left;                padding-left: 10px;                border: 1px solid #F7F7F7;            }                .office-patient-field li:hover {                    background: #cfdbdd;                    border-radius: 20px;                    cursor: pointer;                    border: 1px solid #cfdbdd;                }            .office-patient-field .selected {                background: #e0faff;                border: 1px solid #00a6c9;                border-radius: 20px;                color: #00a6c9;            }            .office-patient-field .content-left,            .office-patient-field .content-center,            .office-patient-field .content-right {                float: left;                height: 350px;                background-color: #f3f7f7;            }            .office-patient-field .content-left {                width: 45%;                border: 1px solid #E6E6E6;            }            .office-patient-field .top {                background-color: #f3f7f7;                height: 40px;                padding: 10px 10px 0 20px;            }            .office-patient-field .body {                height: 310px;                overflow-y: auto;                background-color: #f3f7f7;                text-align: center;                width: 100%;                float: left;            }                .office-patient-field .body ul {                    margin: 0 auto;                    width: 90%;                    padding-bottom: 10px;                }            .office-patient-field .content-center {                width: 10%;                text-align: center;                background: #cfdbdd;                padding-top: 80px;            }                .office-patient-field .content-center button {                    background: #f3f7f7;                    border: 1px solid #cfdbdd;                    width: 38px;                    height: 29px;                    border-radius: unset;                    margin-bottom: 10px;                }            .office-patient-field .content-right {                width: 45%;                border: 1px solid #E6E6E6;            }            .office-patient-field .config-on {                background: transparent url(images/transfer-on-off.png) no-repeat 1px 0;                float: right;                width: 45px;                background-size: cover;                transform: scale(0.7);            }            .office-patient-field .config-off {                background: transparent url(images/transfer-on-off.png) no-repeat -43px 0;                float: right;                width: 45px;                background-size: cover;                transform: scale(0.7);            }            .office-patient-field .config-name {                display: block;                font-size: 12px;                transform: scale(0.9);                color: #9397a2;                float: right;            }    </style>    <div class="content-left">        <div class="top">            <span style="float:left;font-size:16px;color:#575d6a;">未应用</span>            <span style="float:right;font-size:13px;color:#00a6c9;cursor:pointer;" ng-click="reInitThisTypeFields()"><span class="glyphicon glyphicon-repeat"></span>&nbsp;恢复初始值</span>        </div>        <div class="body">            <ul>                <li ng-repeat="field in OnlineConsultCreateInfoConfigFields | filter : {bigType : bigType , isEnabled : false}" ng-click="setThisSelected($event,field)" ng-class="field.name==selectedItem.name?\'selected\':\'\'">                    {{field.text}}                </li>            </ul>        </div>    </div>    <div class="content-center">        <button ng-click="changeFieldEnabled(true)">></button><br />        <button ng-click="changeFieldEnabled(false)"><</button><br />        <button ng-click="changeThisTypeFieldsEnabled(true)" style="margin-top:10px;">>></button><br />        <button ng-click="changeThisTypeFieldsEnabled(false)"><<</button>    </div>    <div class="content-right">        <div class="top">            <span style="float:left;font-size:16px;color:#575d6a;">已应用</span>            <span style="float:right;font-size:13px;color:#9397a2;">必填选项请开启</span>        </div>        <div class="body">            <ul>                <li ng-repeat="field in OnlineConsultCreateInfoConfigFields | filter : {bigType : bigType , isEnabled : true}" ng-click="setThisSelected($event,field)" ng-class="field.name==selectedItem.name?\'selected\':\'\'">                    {{field.text}}                    <div style="float:right;">                        <div class="config-on" ng-class="field.isRequired?\'config-on\':\'config-off\'" ng-click="changeRequired(field);">&nbsp;</div>                    </div>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/tenant/views/office-onlice-consult-create-required-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table style="width:100%;margin-left:10px;">            <tr>                <td style="width:45%;">                    <div style="margin-top: 10px;">                        <div style="float:left;background:#00a6c9;border-radius:2px;width:6px;height:23px;background-color:#00a6c9;"></div>                        <span style="float:left;margin-left:5px;font-size:18px;color:#575d6a;">患者信息</span>                    </div>                </td>                <td style="width:50px;"></td>                <td style="width:45%;">                    <div style="margin-top: 10px;">                        <div style="float:left;background:#00a6c9;border-radius:2px;width:6px;height:23px;background-color:#00a6c9;"></div>                        <span style="float:left;margin-left:5px;font-size:18px;color:#575d6a;">执行回访信息</span>                    </div>                </td>                <td></td>            </tr>            <tr>                <td style="width:45%;">                    <office-onlice-consult-create-field-view big-type="patientType"></office-onlice-consult-create-field-view>                </td>                <td style="width:50px;"></td>                <td style="width:45%;">                    <office-onlice-consult-create-field-view big-type="revisitType"></office-onlice-consult-create-field-view>                </td>                <td></td>            </tr>        </table>    </div>    <br />    <br /></div>');templateCache.put('/app/tenant/views/office-org-mgmt-view.html','<div class="office-org-mgmt-content" ares-clean-kendo ares-hide-if-not-ghost>    <style>        .office-org-mgmt-content #menu {            background-color: #fff;            box-shadow: 0 2px 2px 0 rgba(0,0,0,.2)        }        .office-org-mgmt-content .icon {            display: inline-block;            background-image: url(\'/Content/imgs/icon-org.png\');            background-size: 120px 48px;            width: 24px;            height: 24px;            vertical-align: middle;        }        .office-org-mgmt-content .icon-company {            background-position-y: -24px;        }        .office-org-mgmt-content .icon-group-shared {            background-position-x: -24px;            background-position-y: -24px;        }        .office-org-mgmt-content .icon-group {            background-position-x: -48px;            background-position-y: -24px;        }        .office-org-mgmt-content .icon-office-shared {            background-position-x: -72px;            background-position-y: -24px;        }        .office-org-mgmt-content .icon-office {            background-position-x: -96px;            background-position-y: -24px;        }        .office-org-mgmt-content .k-state-selected .icon-company {            background-position-y: -0px !important;        }        .office-org-mgmt-content .k-state-selected .icon-group-shared {            background-position-x: -24px;            background-position-y: -0px !important;        }        .office-org-mgmt-content .k-state-selected .icon-group {            background-position-x: -48px;            background-position-y: -0px !important;        }        .office-org-mgmt-content .k-state-selected .icon-office-shared {            background-position-x: -72px;            background-position-y: -0px !important;        }        .office-org-mgmt-content .k-state-selected .icon-office {            background-position-x: -96px;            background-position-y: -0px !important;        }        .office-org-mgmt-content .transfer-node-div {            cursor: pointer;            color: #00a8cb;            background: #ffffff;            border: 1px solid #00a8cb;            border-radius: 4px;            height: 30px;            font-size: 14px;            padding: 4px 10px;        }            .office-org-mgmt-content .transfer-node-div:hover {                color: #fff;                background-color: #00a8cb;                border-color: #00a8cb;            }        .office-org-mgmt-content .transfer-node-container{            float:left;            height:50px;            vertical-align: middle;            padding-top:5px;            margin-left:50px;        }    </style>    <div>        <div style="height:50px;">            <h4 style="float:left;">                公司组织架构  <span class="glyphicon glyphicon-question-sign" tooltip="请于树节点上右键操作。"                              tooltip-placement="right" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>            </h4>            <div class="transfer-node-container">                <div class="transfer-node-div" ng-click="transferOffice()">节点迁移...</div>            </div>        </div>        <div id="treeview"></div>        <div class=\'hide\'>            <ul id="menu">                <li class="menu-item-clinic"><span class="glyphicon glyphicon-plus"></span> 新建诊所</li>                <li class="menu-item-group"><span class="glyphicon glyphicon-plus"></span> 新建群组</li>                <li class="menu-item-edit"><span class="glyphicon glyphicon-pencil"></span> 编辑</li>                <li class="menu-item-remove"><span class="glyphicon glyphicon-remove"></span> 删除</li>            </ul>        </div>    </div></div>');templateCache.put('/app/tenant/views/office-patient-field-view.html','<div class="ares-main-content office-patient-field" ares-clean-kendo>    <style scoped>        .office-patient-field {            margin-top: 10px;            width: 100%;            height: 350px;        }            .office-patient-field .content-center button {                border: 1px solid #ECECEC;                background-color: #FFFFFF;                border-radius: 4px;                cursor: pointer;            }                .office-patient-field .content-center button:hover {                    border: 1px solid #BEE5EC;                    border-radius: 4px;                    cursor: pointer;                    color: #BEE5EC;                }            .office-patient-field li {                list-style: none;                width: 98%;                height:31px;                line-height: 26px;                text-align: left;                padding-left: 10px;                border: 1px solid #F7F7F7;            }                .office-patient-field li:hover {                    background: #cfdbdd;                    border-radius: 20px;                    cursor: pointer;                    border: 1px solid #cfdbdd;                }            .office-patient-field .selected {                background: #e0faff;                border: 1px solid #00a6c9;                border-radius: 20px;                color: #00a6c9;            }            .office-patient-field .content-left,            .office-patient-field .content-center,            .office-patient-field .content-right {                float: left;                height: 350px;                background-color: #f3f7f7;            }            .office-patient-field .content-left {                width: 45%;                border: 1px solid #E6E6E6;            }            .office-patient-field .top {                background-color: #f3f7f7;                height: 40px;                padding: 10px 10px 0 20px;            }            .office-patient-field .body {                height: 310px;                overflow-y: auto;                background-color: #f3f7f7;                text-align: center;                width: 100%;                float: left;            }                .office-patient-field .body ul {                    margin: 0 auto;                    width: 90%;                    padding-bottom: 10px;                }                      .office-patient-field .content-center {                width: 10%;                text-align: center;                background: #cfdbdd;                padding-top:80px;            }                .office-patient-field .content-center button {                    background: #f3f7f7;                    border: 1px solid #cfdbdd;                    width: 38px;                    height: 29px;                    border-radius:unset;                    margin-bottom:10px;                }            .office-patient-field .content-right {                width: 45%;                border: 1px solid #E6E6E6;            }            .office-patient-field .config-on {                background: transparent url(images/transfer-on-off.png) no-repeat 1px 0;                float: right;                width: 45px;                background-size: cover;                transform: scale(0.7);            }            .office-patient-field .config-off {                background: transparent url(images/transfer-on-off.png) no-repeat -43px 0;                float: right;                width: 45px;                background-size: cover;                transform: scale(0.7);            }            .office-patient-field .config-name {                display: block;                font-size: 12px;                transform: scale(0.9);                color: #9397a2;                float: right;            }    </style>    <div class="content-left">        <div class="top">            <span style="float:left;font-size:16px;color:#575d6a;">未应用</span>            <span style="float:right;font-size:13px;color:#00a6c9;cursor:pointer;" ng-click="reInitThisTypeFields()"><span class="glyphicon glyphicon-repeat"></span>&nbsp;恢复初始值</span>        </div>        <div class="body">            <ul>                <li ng-repeat="field in PatientInfoConfigFields | filter : {bigType : bigType , isEnabled : false}" ng-click="setThisSelected($event,field)" ng-class="field.name==selectedItem.name?\'selected\':\'\'">                    {{field.text}}                </li>            </ul>        </div>    </div>    <div class="content-center">        <button ng-click="changeFieldEnabled(true)">></button><br />        <button ng-click="changeFieldEnabled(false)"><</button><br />        <button ng-click="changeThisTypeFieldsEnabled(true)" style="margin-top:10px;">>></button><br />        <button ng-click="changeThisTypeFieldsEnabled(false)"><<</button>    </div>    <div class="content-right">        <div class="top">            <span style="float:left;font-size:16px;color:#575d6a;">已应用</span>            <span style="float:right;font-size:13px;color:#9397a2;">必填选项请开启</span>        </div>        <div class="body">            <div style="float:right;margin-right: 15px;">                <div class="config-name">临时患者</div>                <div class="config-name">普通患者</div>            </div>            <ul>                <li ng-repeat="field in PatientInfoConfigFields | filter : {bigType : bigType , isEnabled : true}" ng-click="setThisSelected($event,field)" ng-class="field.name==selectedItem.name?\'selected\':\'\'">                    {{field.text}}                    <div style="float:right;">                        <div class="config-on" ng-class="field.isTempPatientRequired?\'config-on\':\'config-off\'" ng-click="changeTempPatientRequired(field);">&nbsp;</div>                        <div class="config-on" ng-class="field.isRequired?\'config-on\':\'config-off\'" ng-click="changeRequired(field);">&nbsp;</div>                    </div>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/tenant/views/office-patient-required-view.html','<div class="ares-main-content" ares-clean-kendo     ng-style="{height: isAres3 ? \'100%\' : \'auto\', \'overflow-x\': isAres3 ? \'hidden\': \'auto\', \'overflow-y\': isAres3? \'auto\': \'auto\'}">    <div>        <table style="width:100%;margin-left:10px;">            <tr>                <td style="width:45%;">                    <div style="margin-top: 10px;">                        <div style="float:left;background:#00a6c9;border-radius:2px;width:6px;height:23px;background-color:#00a6c9;"></div>                        <span style="float:left;margin-left:5px;font-size:18px;color:#575d6a;">个人信息</span>                    </div>                </td>                <td style="width:50px;"></td>                <td style="width:45%;">                    <div style="margin-top: 10px;">                        <div style="float:left;background:#00a6c9;border-radius:2px;width:6px;height:23px;background-color:#00a6c9;"></div>                        <span style="float:left;margin-left:5px;font-size:18px;color:#575d6a;">联系方式</span>                    </div>                </td>                <td></td>            </tr>            <tr>                <td style="width:45%;">                    <office-patient-field-view big-type="infoType"></office-patient-field-view>                </td>                <td style="width:50px;"></td>                <td style="width:45%;">                    <office-patient-field-view big-type="linkType"></office-patient-field-view>                </td>                <td></td>            </tr>            <tr>                <td style="width:45%;">                    <div style="margin-top: 10px;">                        <div style="float:left;background:#00a6c9;border-radius:2px;width:6px;height:23px;background-color:#00a6c9;"></div>                        <span style="float:left;margin-left:5px;font-size:18px;color:#575d6a;">患者信息</span>                    </div>                </td>                <td style="width:50px;"></td>                <td style="width:45%;padding-right:20px;">                    <div style="margin-top: 10px;">                        <div style="float:left;background:#00a6c9;border-radius:2px;width:6px;height:23px;background-color:#00a6c9;"></div>                        <span style="float:left;margin-left:5px;font-size:18px;color:#575d6a;">首诊信息</span>                    </div>                </td>                <td></td>            </tr>            <tr>                <td style="width:45%;">                    <office-patient-field-view big-type="patientType"></office-patient-field-view>                </td>                <td style="width:50px;"></td>                <td style="width:45%;">                    <office-patient-field-view big-type="FirstType"></office-patient-field-view>                </td>                <td></td>            </tr>        </table>    </div>    <br />    <br /></div>');templateCache.put('/app/tenant/views/office-point-view.html','<div class="office-setting-credits-content">    <style>        .office-setting-credits-content .k-header-column-menu {            display: none !important;        }        .office-setting-credits-content .credits-comments ul li  {            height: 60px;            width:245px;            border: 1px solid #e7eef0;            padding: 0px 10px 10px;            float: left;            margin-left: 15px;         }        .office-setting-credits-content .credits-comments ul li  .icon-pic {            width: 40px;            height: 40px;            border-radius: 4px;            line-height: 40px;            text-align: center;            margin-right: 10px;            margin-top: 10px;        }        .office-setting-credits-content .credits-comments ul li  .icon-pic >i {            color: #fff;            font-size: 20px;        }        .office-setting-credits-content .credits-comments ul li:first-child   .icon-pic {            background-color: #00a6c9;        }        .office-setting-credits-content .credits-comments ul li:nth-child(2)  .icon-pic {            background-color: #fe7065;        }        .office-setting-credits-content .credits-comments ul li .exchange-message-wrap {            color: #00a6c9;            border-bottom: 1px solid #00a6c9;            cursor: pointer;        }        .office-setting-credits-content .credits-comments ul li .credits-count {            color: #575D6A;            font-size: 20px;        }        .office-setting-credits-content .credits-comments p {            margin-bottom: 0px;        }        .office-setting-credits-content .credits-comments ul li >button  {            margin-top: 24px;            border: none;            outline:none;            background-color: #00a6c9;            color: #fff;        }        .office-setting-credits-content .credits-comments ul li >button:hover  {            background-color: #008fae;        }        /*小问号的区域start*/        .office-setting-credits-content  .can-use-credits-instruction {            z-index: 100;            display: none;            position: absolute;            top: 38px;            left: -43px;            padding: 10px 15px 10px;            border: 1px solid #8c8c8c;            border-radius: 10px;            background-color: #fafad6;            width: 400px;            text-align: left;        }        .office-setting-credits-content  .can-use-credits-instruction > div {            font-size: 16px;            font-weight: bolder;            color: #575D6A;            margin-top: 5px;            margin-bottom: 5px;        }        .office-setting-credits-content  .can-use-credits-instruction > div:first-child {            margin-top: 0px;        }        .office-setting-credits-content  .can-use-credits-instruction:before ,        .office-setting-credits-content  .can-use-credits-instruction:after {            content: \'\';            display: block;            width: 0px;            height: 0px;            position: absolute;            left: 100px;            border-top: 10px solid transparent;            border-left: 10px solid transparent;            border-right: 10px solid transparent;        }        .office-setting-credits-content  .can-use-credits-instruction:before {            top: -20px;            border-bottom: 10px solid #8c8c8c;        }        .office-setting-credits-content  .can-use-credits-instruction:after {            top: -19px;            border-bottom: 10px solid #fafad6;            z-index: 5;        }        .office-setting-credits-content .credits-comments i:hover + .can-use-credits-instruction {            display: block;        }        /*小问号的区域end*/        /*主体tab区域Start*/        .credits-describe-list {            margin-top: 15px;        }        .credits-describe-list .credits-describe-list-tab-header {            margin-bottom: 10px;        }        .credits-describe-list .credits-describe-list-tab-header ul li {            float: left;            width: 78px;            background-color: #F5F6F8;            border-left: 1px solid #D6D9DF;            border-bottom: 1px solid #D6D9DF;            border-top: 1px solid #D6D9DF;            text-align: center;            color: #575D6A;            height: 30px;            line-height: 28px;            cursor: pointer;        }        .credits-describe-list .credits-describe-list-tab-header ul li:nth-child(2) {            border-right: 1px solid #D6D9DF;        }        .credits-describe-list .credits-describe-list-tab-header ul li.active {            border-top: 2px solid #00a6c9;            background-color: #fff;            border-bottom: none;            color: #00a6c9;        }        /*主体tab区域end*/        .credits-describe-list  .know-more-info >a {            color: #00a6c9;        }        .credits-describe-list  .know-more-info >a:hover {            color: #00a6c9;        }        #pointTask .cell-left {            padding-left: 10px !important;        }        #pointTask .title-cell > a.k-link {            text-align: left !important;            padding-left: 10px !important;        }        #pointTask .k-state-selected .know-more-info a {            color: #fff;        }    </style>    <div>        <div class="credits-keywords">            <div class="credits-comments">                <ul class="clearfix">                    <li>                        <div class="clearfix">                            <div class="icon-pic pull-left">                                <i class="iconfont icon-jifen"></i>                            </div>                            <div class="pull-left">                                <div style="position: relative;">                                    <span>可用积分</span>                                    <i class="iconfont icon-tishi"></i>                                    <div class="can-use-credits-instruction">                                        <div>积分介绍</div>                                        <p>领健诊所积分是为了回馈用户使用e看牙的进销存、患者管理、预约管理等服务而给予的奖励。积分将在用户完成指定积分任务后发放至积分账户。积分仅可在e看牙中使用。如果用户停用e看牙的服务，则取消账号内积分相关的使用权益。</p>                                        <div>如何获得积分</div>                                        <p>诊所员工每天使用e看牙系统即可以积累一定的积分，具体获取方式参见积分任务。</p>                                        <div>如何使用积分</div>                                        <p>积分可直接兑换e看牙各项服务费，如短信等</p>                                    </div>                                    <span class="credits-count">{{currentPoint}}</span>                                </div>                                <div>                                    <span class="exchange-message-wrap" ng-click="goToMessage()">兑换短信</span>                                </div>                            </div>                        </div>                    </li>                    <li>                        <div class="clearfix">                            <div class="icon-pic pull-left">                                <i class="iconfont icon-59"></i>                            </div>                            <div class="pull-left">                                <div>                                    <span>今年即将过期积分</span>                                    <span class="credits-count">{{nearExpirePoint}}</span>                                </div>                                <div>                                    <span style="font-size: 13px;">将于{{expireTime}}过期</span>                                </div>                            </div>                        </div>                    </li>                </ul>            </div>        </div>        <div class="credits-describe-list">            <div class="credits-describe-list-tab-header">                <ul>                    <li ng-click="toggleTab(\'task\')" ng-class="{\'active\': isShowDetail == \'task\'}">                        <span>积分任务</span>                    </li>                    <li ng-click="toggleTab(\'detail\')" ng-class="{\'active\': isShowDetail == \'detail\'}">                        <span>积分明细</span>                    </li>                </ul>            </div>            <div class="credits-describe-list-tab-body">                <div id="pointTask" ng-show="isShowDetail === \'task\'"></div>                <div id="pointDetail" ng-show="isShowDetail === \'detail\'"></div>            </div>        </div>    </div></div>');templateCache.put('/app/tenant/views/office-todaywork-management-view.html','<div class="ares-main-content" ares-clean-kendo>   <fieldset>        <legend>前台</legend>        <div style="margin-top:10px;padding-left:17px;">            <input type="checkbox" ng-model="systemConfigs.DefaultIncludeCharged" ng-disabled="!isEdit" style="margin-left:20px"  />今日就诊默认包含"已收费"                   </div>   </fieldset>   <div class="form-group" style="padding-left:20px;margin-top:30px;margin-left:50px;">        <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="save()">保存</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/tenant/views/partner-account-management-view.html','<div class="partner-account-mgt enyo">    <style>        .partner-account-mgt .table-header-primary {            background-color: #00A6c9;            color: #fff;        }        .partner-account-mgt .table {            font-size: 13px;        }    </style>    <div class="search-bar">        <div class="search-item pull-left">            <div class="input-group input-group-clean" style="width: 300px;">                <input type="text" class="form-control" autocomplete="off" placeholder="姓名/手机号/登录账号"                       ng-model="searchKeyWord" ng-keyup="onSearchKeywordInputKeyUp($event)">                <span class="input-group-addon" ng-click="search()">                    <i class="iconfont icon-sousuo"></i>                </span>            </div>        </div>        <div class="enyo-ml-20" style="display: inline-block">            <button class="lc-btn lc-btn-primary" ng-click="search()" >查询</button>        </div>        <div class="pull-right">            <button class="lc-btn lc-btn-info" ng-click="addPartnerAccount(0)" >新建账号</button>        </div>    </div>    <div class="enyo-mt-10 custom-standard-data-table">        <table class="table table-bordered ">            <thead class="table-header table-header-primary">                <tr >                    <th>序号</th>                    <th>姓名</th>                    <th>渠道</th>                    <th>手机</th>                    <th>登录账号</th>                    <th>创建时间</th>                    <th>操作</th>                </tr>            </thead>            <tbody class="table-main" ng-show="result.items.length > 0">             <tr ng-repeat="item in result.items">                 <td>{{item.order}}</td>                 <td>{{item.name}}</td>                 <td>{{item.partnerName}}</td>                 <td>{{item.mobile}}</td>                 <td>{{item.account}}</td>                 <td>{{item.recordCreatedTime | toLongDateTimeString}}</td>                 <td>                     <a ng-click="addPartnerAccount(1,item)" style="padding-right:10px;">修改</a>                     <a ng-click="disableAccount(item.id, true)" ng-show="!item.isDisabled">禁用</a>                     <a ng-click="disableAccount(item.id, false)" ng-show="item.isDisabled">启用</a>                 </td>             </tr>            </tbody>        </table>        <div class="table-footer lc-table-footer" style="border:unset;" ng-show="result.totalCount > 0">            <div pagination total-items="result.totalCount"                 items-per-page="pageSize"                 ng-model="pageIndex" ng-change="search()"                 max-size="10"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50"                               k-ng-model="pageSize"                               style="width:63px;" k-on-change="search()"                               k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a>共{{ result.totalCount }}条</a>                </li>            </ul>        </div>        <div class="empty-list-hint"  style="width:100%;margin-top: 20px;" ng-show=\'result.items.length == 0\'>            <div style="margin-left: calc(50% - 50px); float: left;">                <i class="iconfont icon-jinggao" style="font-size: 50px; color: #f7a51d;"></i>            </div>            <div style="margin-left: 10px; height: 70px; float: left; display: flex; align-items: center;">                <div>                    <div style="color: #575d6a; font-size: 16px;">抱歉，没有相关信息</div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/tenant/views/practice-office-upload-view.html','<div class="form-group" style="height: 200px; width: 200px; position: relative; MARGIN-RIGHT: auto; text-align: center; MARGIN-LEFT: auto; line-height: 200px; margin-bottom: 20px; background-color: #56ADF0; border: 1px solid lightgray; "     ng-mouseenter="isMouseHover=true" ng-mouseleave="isMouseHover=false">    <style>        .image-upload-box {            position: absolute;            background-color: white;            border: 1px solid #cccccc;            color: #333333;            bottom: 3px;            right: 3px;            width: 22px;            height: 24px;            z-index: 100;            line-height: 24px;            border-radius: 3px;        }            .image-upload-box:hover {                background-color: #e6e6e6;            }    </style>    <input id="pictureUploadPanel" style="display:none" practice-office-upload-view type="file"           accept="image/*"           add="addUpload(e,data)"           send="beforeUpload(e,data)"           start="uploadStart(e,data)"           stop="uploadStop(e,data)"           uploadprogress="uploadProgressed(e,data)"           done="uploadFinished(e,data)"           fail="uploadFailed(e,data)" />    <img ng-src="{{picture.filePath}}" style="max-height: 200px; max-width: 100%; margin: 0 auto;  vertical-align: middle; position: static; top: -50%; left: -50%;" />    <div class="image-upload-box" ng-click="onClickFileDialog($event)"         ng-show="isMouseHover">        <span class="glyphicon glyphicon-pencil" style="font-size:12px"></span>    </div></div>');templateCache.put('/app/tenant/views/provider-append-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        #mainForm input, select {            max-width: 200px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">添加其他诊所员工【当前诊所：{{office.name}}】</h4>    </div>    <div class="modal-body ares-dialog-body">        <div style="width:850px">            <table>                <tr>                    <td style="padding-left: 10px; padding-right: 10px;">所属诊所</td>                    <td>                        <input id="officeInput" name="officeInput" type="text" class="form-control" style="width:200px">                    </td>                    <td style="padding-left: 10px; padding-right: 10px;">员工姓名</td>                    <td>                        <input id="nameInput" name="nameInput" ng-model="criteria.name" type="text" class="form-control" style="width:200px">                    </td>                    <td>                        <button type="button" class="btn btn-default" ng-click="search()" style="margin-left:20px;">                            <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                        </button>                    </td>                </tr>            </table>        </div>        <div style="margin-top:10px;height:500px">            <div id="providerList" style="height: 500px"></div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/tenant/views/provider-edit-view.html','<div class="ares-main-content provider-edit" ares-clean-kendo>    <style scoped>        #providerForm .col-sm-6 {            padding-left: 0 !important;        }        .provider-edit .infomation-left {            float: left;        }        .provider-edit .infomation-right {            float: left;        }        .provider-edit .infomation-image {            float: left;            margin-left: 5px;            height: 160px;            width: 160px;            text-align: center;            border: 1px solid lightgray;        }        .provider-edit .image-upload-box {            position: absolute;            background-color: white;            border: 1px solid #cccccc;            color: #333333;            bottom: 3px;            right: 3px;            width: 22px;            height: 24px;            z-index: 100;            line-height: 24px;            border-radius: 3px;        }            .provider-edit .image-upload-box:hover {                background-color: #e6e6e6;            }        .provider-edit .sub-panel-heading-title {            font-size: 21px !important;            line-height: inherit !important;            color: #333 !important;            font-weight: normal !important;        }    </style>    <div style="padding:10px">        <form id="providerForm" name="providerForm" class="form-horizontal">            <fieldset>                <legend>基本信息</legend>                <div>                    <div class="control-group infomation-left" style="width: 500px;">                        <div class="form-group">                            <label class="col-sm-2 control-label">所属诊所</label>                            <div class="col-sm-6">                                <div ng-show="$root.isTenantAdmin">                                    <select id="officeInput" style="width: 150px" ng-disabled="isConnectYongyouHrp"></select>                                </div>                                <label class="control-content" ng-if="!$root.isTenantAdmin">{{currentProvider.officeId | toOfficeName}}</label>                            </div>                        </div>                        <div class="form-group">                            <label for="providerName" class="control-label col-sm-2">姓名&nbsp;<span class="glyphicon glyphicon-asterisk"></span></label>                            <div class="col-sm-6">                                <input type="text" class="form-control" id="providerName" name="providerName" ng-model="currentProvider.name" ng-disabled="isConnectYongyouHrp" autofocus />                            </div>                        </div>                        <div class="form-group">                            <label for="employeeNo" class="col-sm-2 control-label">员工号</label>                            <div class="col-sm-6">                                <input class="form-control" id="employeeNo" name="employeeNo" ng-model="currentProvider.employeeNo" ng-disabled="isConnectYongyouHrp" />                            </div>                        </div>                        <div class="form-group">                            <label for="birth" class="col-sm-2 control-label">生日</label>                            <div class="col-sm-6">                                <input id="birth" name="birth" class="form-control" kendo-date-picker ng-model="currentProvider.birth" placeholder="年-月-日"                                       k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" max="today" style="width:150px" />                            </div>                        </div>                        <div class="form-group">                            <label for="sex" class="col-sm-2 control-label">性别</label>                            <div style="margin-top:5px">                                <label class="checkbox inline" style="display:inline;margin-left:20px">                                    <input type="radio" name="sexRadios" id="male" value="1" ng-click="setSex(1)" ng-checked="currentProvider.sex==1"> 男                                </label>                                <label class="checkbox inline" style="display: inline; margin-left: 20px">                                    <input type="radio" name="sexRadios" id="female" value="2" ng-click="setSex(2)" ng-checked="currentProvider.sex==2"> 女                                </label>                                <label class="checkbox inline" style="display: inline; margin-left: 20px">                                    <input type="radio" name="sexRadios" id="unknownSex" value="0" checked ng-click="setSex(0)" ng-checked="currentProvider.sex==0"> 未知                                </label>                            </div>                        </div>                        <div class="form-group">                            <label for="job" class="col-sm-2 control-label">岗位</label>                            <div class="col-sm-10" style="padding: 0">                                <select id="job" style="width: 150px"></select>                                <div style="display:inline-block;" ng-show="isRelatedDoctorVisible">                                    <label class="control-label" style="margin-left:20px">配对医生</label>                                    <select id="relatedDoctorInput" style="width: 150px"></select>                                </div>                                <div style="display:inline-block;" ng-show="currentProvider.job == \'医生\'">                                    <input type="checkbox" ng-model="currentProvider.isIntern" style=" margin-top: 10px;"> 是否实习                                    <button class="btn btn-default" style="margin-left: 12px;" ng-if="szHealthInspectorEnabled && providerId != \'0\'" ng-click="openDoctorCertificateModal()">卫监资质上传</button>                                </div>                            </div>                        </div>                        <div class="form-group" ng-show="currentProvider.job == \'医生\' && currentProvider.isIntern && isInternWorkflowEnabled">                            <label class="col-sm-2 control-label" style="padding:7px;">                                带教老师                                <b style="color: red;">*</b>                            </label>                            <div class="col-sm-10" style="padding: 0">                                <select id="instructor" style="width: 150px"></select>                            </div>                        </div>                        <div class="form-group">                            <label for="department" class="col-sm-2 control-label">科室</label>                            <div class="col-sm-6">                                <select id="department" style="width: 150px" ng-disabled="isConnectYongyouHrp"></select>                                <button type="button" class="btn btn-default" ares-config-click="editDepartment()" ng-disabled="isConnectYongyouHrp" style="margin-left:0px;">                                    <span class="glyphicon glyphicon-cog"></span>                                </button>                            </div>                        </div>                        <div class="form-group">                            <label class="control-label col-sm-10">                                联系手机                                <input class="form-control" style="display: inline; margin-right: 90px;width:250px;"                                       id="mobile" name="mobile" ng-model="currentProvider.mobile"                                       ng-disabled="canEditUser||currentProvider.isMobileVerified" />                            </label>                        </div>                        <div class="form-group">                            <label class="control-label col-sm-10">                                身份证号                                <input class="form-control" style="display: inline; margin-right: 90px;width:250px;"                                       id="mobile" name="mobile" ng-model="currentProvider.identityCard" />                            </label>                        </div>                        <div class="form-group">                            <label for="title" class="col-sm-2 control-label">职称</label>                            <div class="col-sm-6">                                <input class="form-control" id="title" name="title" ng-model="currentProvider.title" />                            </div>                        </div>                        <div class="form-group">                            <label for="title" class="col-sm-2 control-label">医师执业证书号</label>                            <div class="col-sm-6">                                <input class="form-control" id="certificateNo" name="certificateNo" ng-model="currentProvider.certificateNo" />                            </div>                        </div>                        <div class="form-group">                            <label for="email" class="col-sm-2 control-label">邮箱</label>                            <div class="col-sm-6">                                <input class="form-control" id="email" ng-model="currentProvider.email" />                            </div>                        </div>                        <div class="form-group">                            <label for="homeAddress" class="col-sm-2 control-label">家庭住址</label>                            <div class="col-sm-6">                                <textarea class="form-control" id="homeAddress" rows="2" ng-model="currentProvider.homeAddress"></textarea>                            </div>                        </div>                        <div class="form-group">                            <label for="loginOffices" class="control-label col-sm-2" style="padding-left: 0;padding-right: 0;">                                工作诊所&nbsp;<span class="glyphicon glyphicon-asterisk"></span>                            </label>                            <div class="col-sm-6">                                <!--<select id="workingOffices" name="workingOffices" class="not-ignore" style="width:280px"></select>-->                                <office-selector-tag style="width: 280px;margin-left:0;"                                                     name="workingOffices" id="workingOffices"                                                     class="font-size-13"                                                     office-tree-data="officeTreeData"                                                     select-mode="allSeparate"                                                     selected-office-ids="selectedOfficeIds"                                                     allow-search="true" disabled="!workingOfficesEdit"                                                     on-selected="onOfficeSelected(selectedOffices)">                                </office-selector-tag>                            </div>                        </div>                        <div class="form-group">                            <label for="isshow" class="col-sm-2 control-label">在职状态</label>                            <div class="col-sm-6">                                <label class="radio-inline">                                    <input type="radio" name="isshow" ng-value="true" ng-model="currentProvider.show" ng-disabled="isConnectYongyouHrp">在职                                </label>                                <label class="radio-inline">                                    <input type="radio" name="isshow" ng-value="false" ng-model="currentProvider.show" ng-disabled="isConnectYongyouHrp">离职                                </label>                                <div class="text-muted">（离职员工不能登录系统）</div>                            </div>                        </div>                    </div>                    <div class="infomation-right">                        <div class="infomation-image" ng-repeat="picture in pictures">                            <ares-picture-view picture-id="{{picture.pictureId}}" type="{{picture.proivderPictureType}}" on-picture-saved="updateProviderPicture"                                               height="160" width="160" is-not-original-ratio="true" max-width="160" min-width="160" alt="{{picture.title}}"                                               editable="true" is-show-edit-button="true" refresh-provider-picture-dic="refreshProviderPictureDic"></ares-picture-view>                        </div>                    </div>                </div>            </fieldset>            <fieldset style="width: 400px;">                <style>                    fieldset .free-field-panel .title-panel {                        width: 85px;                        overflow: hidden;                        text-overflow: ellipsis;                        white-space: nowrap;                    }                </style>                <free-field-view target-type="2" field-title="员工自由项" is-edit="true" source="providerFreeField"></free-field-view>            </fieldset>            <fieldset>                <legend>                    登录信息                    <label class="checkbox" style="margin-left: 50px; font-size: 16px; display:inline;">                        <input type="checkbox" ng-model="canEditUser" style=" margin-top: 10px;"> {{currentProvider.user.id?\'修改登录账号\':\'创建登录账号\'}}                    </label>                </legend>                <div class="control-group" style="width: 800px;">                    <div class="form-group">                        <label for="account" class="control-label col-sm-2">登录账号</label>                        <div class="col-sm-6">                            <input class="form-control" id="account" name="account" ng-disabled="!canEditUser" ng-model="currentProvider.user.account" />                        </div>                    </div>                    <div class="form-group" ng-show="!currentProvider.user.id">                        <label for="password" class="control-label col-sm-2">登录密码</label>                        <div class="col-sm-6">                            <input class="form-control" type="password" id="password" name="password" ng-disabled="!canEditUser" ng-model="currentProvider.user.password" />                        </div>                    </div>                    <div class="form-group" ng-show="!currentProvider.user.id">                        <label for="confirmPassword" class="control-label col-sm-2">确认密码</label>                        <div class="col-sm-6">                            <input class="form-control" type="password" id="confirmPassword" name="confirmPassword" ng-disabled="!canEditUser" ng-model="currentProvider.user.confirmPassword" />                        </div>                    </div>                    <div class="form-group">                        <label for="confirmPassword" class="control-label col-sm-7">                            绑定手机                            <span class="glyphicon glyphicon-question-sign"                                  title=" 1、新建员工账号后，系统可自动发送邀请短信至此手机号。\n2、员工收到邀请后，使用此手机号登录e看牙app即可选择加入企业、自助修改初始密码。（此手机号即绑定此员工账号）\n* 如不填写此项，员工在手机app上登录此账号后，亦会自动填入其绑定手机 \n* 员工离职、或账号被删除，亦不可再通过此手机号登录此账号"                                  tooltip-placement="bottom-left" tooltip-class="ares-tooltip" style="margin-right: 15px;" tooltip-trigger="mouseenter"></span>                            <input class="form-control" style="display: inline; margin-right: 50px;"                                   id="bindMobile" name="bindMobile" ng-model="currentProvider.mobile"                                   ng-disabled="!canEditUser ||currentProvider.isMobileVerified" />                        </label>                        <label class="checkbox col-sm-7" style="padding-left:160px;" ng-hide="currentProvider.isMobileVerified">                            <input type="checkbox" ng-disabled="!canEditUser" ng-model="needSendMessage"> 保存后将向该手机发送邀请短信                        </label>                        <label class="control-label col-sm-10" style="padding-left: 140px;text-align: left; margin-bottom: -7px;" ng-show="currentProvider.isMobileVerified">                            * 该员工已加入企业，需员工在手机app中自行修改绑定手机号。                        </label>                        <!--<div class="col-sm-6">                        </div>-->                    </div>                    <div class="form-group">                        <label for="roles" class="control-label col-sm-2">所属角色</label>                        <div class="col-sm-6">                            <select id="roles" name="roles" class="not-ignore" ng-disabled="!canEditUser" style="width:280px"></select>                        </div>                    </div>                    <div class="form-group">                        <label for="roles" class="control-label col-sm-2">手机验证</label>                        <div class="col-sm-10">                            <label class="checkbox inline" style="display:inline;">                                <input type="radio" name="needMobileValidateRadios" id="need" value="1" ng-disabled="!canEditUser" ng-click="setNeedMobileValidate(1)" ng-checked="currentProvider.user.isNeedExtraValidate==1"> 开启                            </label>                            <label class="checkbox inline" style="display: inline; margin-left: 20px">                                <input type="radio" name="needMobileValidateRadios" id="notNeed" value="2" ng-disabled="!canEditUser" ng-click="setNeedMobileValidate(0)" ng-checked="currentProvider.user.isNeedExtraValidate==0"> 关闭                            </label>                            <input class="form-control" style="display: inline;width: 180px; margin-left: 20px;" placeholder="请输入用于验证的手机号"                                   id="verifiedMobile" name="verifiedMobile" ng-model="currentProvider.user.extraValidationMobile" ng-disabled="!canEditUser || !currentProvider.user.isNeedExtraValidate" /><br />                            注：开启手机验证后，每次登录都需要输入手机验证码。                        </div>                    </div>                    <div class="form-group" ng-if="isDeviceMgmtEnabled">                        <label for="roles" class="control-label col-sm-2">设备验证</label>                        <div class="col-sm-6">                            <label class="radio-inline">                                <input type="radio" name="needDeviceValidateRadios" ng-value="1" ng-disabled="!canEditUser" ng-click="setNeedDeviceValidate(1)" ng-checked="currentProvider.user.isNeedDeviceValidate==1">开启                            </label>                            <label class="radio-inline">                                <input type="radio" name="needDeviceValidateRadios" ng-value="2" ng-disabled="!canEditUser" ng-click="setNeedDeviceValidate(0)" ng-checked="currentProvider.user.isNeedDeviceValidate==0">关闭                            </label>                        </div>                    </div>                    <div class="form-group">                        <label for="roles" class="control-label col-sm-2">登录APP</label>                        <div class="col-sm-6">                            <label class="radio-inline">                                <input type="radio" name="disabledMobileApp" ng-value="0" ng-disabled="!canEditUser" ng-click="setMobileLogonDisabledOption(0)" ng-model="currentProvider.user.isMobileAppDisabled">开启                            </label>                            <label class="radio-inline">                                <input type="radio" name="disabledMobileApp" ng-value="1" ng-disabled="!canEditUser" ng-click="setMobileLogonDisabledOption(1)" ng-model="currentProvider.user.isMobileAppDisabled">关闭                            </label>                            <!--<label class="checkbox inline" style="display:inline;">                                <input type="radio" name="disabledMobileApp" id="need" value="1" ng-disabled="!canEditUser" ng-click="setNeedMobileValidate(1)" ng-checked="currentProvider.user.isMobileAppDisabled==1"> 开启                            </label>                            <label class="checkbox inline" style="display: inline; margin-left: 20px">                                <input type="radio" name="disabledMobileApp" id="notNeed" value="2" ng-disabled="!canEditUser" ng-click="setNeedMobileValidate(0)" ng-checked="currentProvider.user.isMobileAppDisabled==0"> 关闭                            </label><br />-->                        </div>                    </div>                </div>            </fieldset>            <div style="margin-left:40px;">                <button type="button" sensors-enabled="true" sensors-event-name="ProviderEdit" sensors-event-type="取消" class="btn btn-default" ng-click="cancelProvider()" style="width:100px;">取消</button>                <button type="button" sensors-enabled="true" sensors-event-name="ProviderEdit" sensors-event-type="保存" class="btn btn-primary" ng-click="validAndSave()" style="width:100px;">保存</button>            </div>        </form>    </div></div>');templateCache.put('/app/tenant/views/provider-home-view.html','<ares-tab states="states" root-state="providerSettings"></ares-tab>');templateCache.put('/app/tenant/views/provider-list-view.html','<div class="ares-main-content provider-list-view" ares-clean-kendo>    <style scoped>        .provider-list-view .search-feilds li {            padding-left: 15px;            padding-top: 10px;            float: left;            list-style: none;            line-height: 40px;        }            .provider-list-view .search-feilds li input {                margin-left: 10px;                float: left;            }    </style>    <div id="titleContainer" style="margin-top:10px;">        <table>            <tr>                <td colspan="6" style="padding-bottom:10px;" ng-hide="isConnectYongyouHrp">                    <button type="button" class="btn btn-default" ng-click="createProvider()" style="margin-left:20px;" sensors-enabled="true" sensors-event-name="ProviderList" sensors-event-type="新建员工">                        <span class="glyphicon glyphicon-plus-sign"></span> 新建员工                    </button>                    <button type="button" class="btn btn-default" ng-click="appendProvider()" style="margin-left:20px;" ares-authorize="tenantMgmt.otherOfficeProvider"  sensors-enabled="true" sensors-event-name="ProviderList" sensors-event-type="添加其他诊所员工">                        <span class="glyphicon glyphicon-plus-sign"></span> 添加其他诊所员工                    </button>                </td>            </tr>            <tr>                <td style="padding-left: 10px; padding-right: 10px;" class="provider-office">                    <label class="checkbox inline" style="font-weight:normal;margin-left:20px;display:inline">                        <input type="radio" name="officeType" ng-model="criteria.isWorkingOffice" ng-value="false" style="margin-left:-15px !important;">所属诊所                    </label>                    <label class="checkbox inline" style="font-weight: normal; margin-left: 20px; display: inline; ">                        <input type="radio" name="officeType" ng-model="criteria.isWorkingOffice" ng-value="true" style="margin-left:-15px !important;">工作诊所                    </label>                    <input id="officeInput" name="officeInput" type="text" class="form-control" style="width:200px;display:inline;margin-left:5px;" />                </td>                <td ng-show="hasDepartment">                    <div id="departmentContainer" style="padding-left: 10px; padding-right: 10px;">                        <span>科室&nbsp;</span><input id="departmentInput" name="departmentInput" type="text" class="form-control" style="width:100px;display:inline" />                    </div>                </td>                <td style="padding-left: 10px; padding-right: 10px;">                    <div>                        <span>岗位&nbsp;</span><input id="jobInput" name="jobInput" type="text" class="form-control" style="width:100px;display:inline" />                    </div>                </td>                <td style="padding-left: 10px; padding-right: 10px;">                    <div>                        <span>角色&nbsp;</span><input id="roleInput" name="jobInput" type="text" class="form-control" style="width:115px;display:inline" />                    </div>                </td>                <td style="padding-left: 10px; padding-right: 10px;">                    <label class="checkbox inline" style="font-weight:normal;margin-left:20px;display:inline;">                        <input type="checkbox" ng-model="criteria.hasAccount" style="margin-left:-15px !important;">有登录账号                    </label>                    <label class="checkbox inline" style="font-weight: normal; margin-left: 20px; display: inline; ">                        <input type="checkbox" ng-model="criteria.includeLeft" style="margin-left:-15px !important;">包含离职员工                    </label>                </td>                <td></td>            </tr>            <tr>                <td colspan="4">                    <ul class="search-feilds">                        <li style="width:230px;">                            <span style="float:left;">姓名</span><input class="form-control" style="width:150px" ng-model="criteria.searchName" />                        </li>                        <li style="width:210px;">                            <span style="float:left;">工号</span><input class="form-control" style="width:130px" ng-model="criteria.employeeNo" />                        </li>                        <li style="width:230px;">                            <span style="float:left;">手机号</span><input class="form-control" style="width:150px" ng-model="criteria.mobile" />                        </li>                        <li style="width:240px;">                            <span style="float:left;">登录账号</span><input class="form-control" style="width:150px" ng-model="criteria.account" />                        </li>                    </ul>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:10px;">                        <span class="glyphicon glyphicon-search"></span> 查询                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div id="providerList">        </div>    </div></div>');templateCache.put('/app/tenant/views/role-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        #roleList .k-button {            min-width: 12px;            width: 27px;            height: 27px;            padding: 0 !important;        }        #roleList span.k-operator-hidden .k-button {            width: 34px;            height: 34px;        }        #roleList span.k-operator-hidden .form-control {            max-width: 92%;        }    </style>    <!--<h1 class="ares-page-header">角色管理</h1>-->    <div style="margin-top:10px;">        <div class="form-group" style="padding-left:10px; margin-top:10px">            <button type="button" sensors-enabled="true" sensors-event-name="RoleList" sensors-event-type="新增" class="btn btn-default" ng-click="addRow()">                <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 新增            </button>            <button type="button" sensors-enabled="true" sensors-event-name="RoleList" sensors-event-type="复制" class="btn btn-default" ng-click="copyRole()" ng-disabled="selectedItem == null || selectedItem.isTenantAdministrator">                <span class="glyphicon glyphicon-copy" aria-hidden="true"></span> 复制            </button>            <button type="button" sensors-enabled="true" sensors-event-name="RoleList" sensors-event-type="修改" class="btn btn-default" ng-click="editSelectedRow()" ng-disabled="selectedItem == null">                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> 修改            </button>            <button type="button" sensors-enabled="true" sensors-event-name="RoleList" sensors-event-type="删除" class="btn btn-default" ng-click="removeSelectedRow()" ng-disabled="selectedItem == null">                <span class="glyphicon glyphicon-minus-sign" aria-hidden="true"></span> 删除            </button>            <button type="button" sensors-enabled="true" sensors-event-name="RoleList" sensors-event-type="权限设置" class="btn btn-default" ng-click="setRolePermission()" ng-disabled="selectedItem == null">                <span class="glyphicon glyphicon-lock" aria-hidden="true"></span> 权限设置            </button>            <button type="button" sensors-enabled="true" sensors-event-name="RoleList" sensors-event-type="今日工作设置" class="btn btn-default" ares-config-click="editDashboard()" ng-disabled="selectedItem == null || (selectedItem.isDefault&&selectedItem.name!=\'前台\')">                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span> 今日工作设置            </button>            <button type="button" sensors-enabled="true" sensors-event-name="RoleList" sensors-event-type="导出" class="btn btn-default" ng-click="exportRoles()">                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span> 导出            </button>        </div>        <div id="roleList" style="width:700px;"></div>    </div></div>');templateCache.put('/app/tenant/views/role-permission-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        .permission-category {            margin-left: -5px;            display: inline-block;            font-weight: bold;        }        .permission-text {            width: 200px;            margin-left: -5px;            display: inline-block;            white-space: normal;        }        .permission-code {            display:none;        }        .permission-desc {            display: inline-block;            color: gray;        }        .k-state-selected .permission-desc {            color: white;        }        .permission-mask {            position: absolute;            left: 0;            top: 0;            width: 860px;            height: 100%;            background: white;            opacity: 0.5;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()"><span>&times;</span></button>        <h4 class="modal-title">角色权限设置 - {{role.name}}</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="container-fluid">            <div class="row">                <div class="col-sm-3" style="padding:0">                    <fieldset>                        <legend style="margin-bottom: 10px;">角色成员</legend>                        <div id="userList">                        </div>                    </fieldset>                </div>                <div class="col-sm-9" style="padding-right:0;">                    <div id="permissionTabstrip">                        <div data-role="tabstrip" data-bind="events: { select: onSelect }">                            <ul>                                <li class="k-state-active">权限列表</li>                                <li> 数据权限</li>                            </ul>                            <div>                                <fieldset>                                    <div class="panel panel-default" style="margin:0">                                        <div class="panel-body" style="padding:0">                                            <div id="permissionList" style="height:600px;overflow-y:auto;">                                            </div>                                            <script id="permission-node-template" type="text/kendo-ui-template">                                                # if (!item.items) { #                                                <div class="permission-text">#: item.name #</div>                                                <div class="permission-desc">#: item.description #</div>                                                <div class="permission-code">#: item.code #</div>                                                # } else { #                                                <div class="permission-category">#: item.name #</div>                                                # } #                                            </script>                                        </div>                                    </div>                                </fieldset>                            </div>                            <div>                                <div style="padding:10px 10px 10px 30px;">                                    <label style="font-size:16px;">患者及预约访问权限</label>                                    <br />                                    <span title="awefaw" style="margin-left:20px;">查看级别</span> &nbsp;                                    <select id="levelInput" kendo-drop-down-list style=" width:100px"></select>                                </div>                                <div style="margin-left: 70px;margin-top: -10px;">                                    <label id="myPersonLabel" style="font-weight:normal;margin-top:10px;">                                        <input type="checkbox" ng-model="option.isMyPatient">我负责的患者                                        <span title="患者“初诊医生”、“责任医生”、“咨询师”或“创建人”为“我”的患者" style="display: inline-block;" class="glyphicon glyphicon-question-sign">                                        </span>                                    </label>                                    <br />                                    <label id="appointmentLabel" style="font-weight:normal;">                                        <input type="checkbox" ng-model="option.isAppointmentMePatient">预约过我的患者                                        <span title="“预约医生”，咨询记录，预约助理包含“我”的患者" style="display: inline-block;" class="glyphicon glyphicon-question-sign">                                        </span>                                    </label>                                    <label id="departmentLabel" class="checkbox" style="font-weight:normal;margin-top:-15px;">                                        患者曾经预约过我所在的科室，或者患者的负责人与我在同一个科室。                                    </label>                                    <label id="prohibitEditOtherPatientLabel" style="font-weight:normal;">                                        <input type="checkbox" ng-model="option.isOnlyMyPatientEditable">禁止修改他人客户信息                                    </label>                                    <label id="allLabel" class="checkbox" style="font-weight:normal;margin-top:-15px;">                                        公司范围内所有直营门店或群组的患者及预约信息均可访问。                                    </label>                                    <!--<div>                                        <p style="margin-bottom:0;">我的患者包含：</p>                                        <p style="margin-left:20px;margin-bottom:0;">患者基本信息中的"初诊医生"或"责任医生"是我的患者</p>                                        <p style="margin-left:20px;margin-bottom:0;">曾经预约过"我"的患者</p>                                    </div>-->                                </div>                                <div style="padding:10px 10px 10px 30px;">                                    <label style="font-size:16px;">报表权限</label>                                    <br />                                    <label style="font-weight:normal;margin-left:20px" ng-disabled="!allowReportpermission">                                        <input type="checkbox" ng-model="option.isReportDayLimited" ng-disabled="!allowReportpermission" style="margin-top: 10px;" />只允许查看 <input style="width:80px;" kendo-numeric-text-box k-min="1" k-max="99999999" k-ng-model="option.reportDayCount" k-ng-disabled="!allowReportpermission" k-step="1" k-options="{format: \'#\', decimals:0}" />天内的报表                                    </label>                                    <br />                                    <label style="font-weight:normal;margin-left:20px" ng-disabled="!allowReportpermission">                                        <input type="checkbox" ng-model="option.isSensitiveAmountAllowed" ng-disabled="!allowReportpermission" style="margin-top: 10px;" />允许查看医生收费明细中金额字段                                    </label>                                </div>                                <div style="padding:10px 10px 10px 30px;">                                    <label style="font-size:16px;">患者联系方式查看权限</label>                                    <span title="该设置仅当系统安全设置里“患者信息保护”启用后生效" style="display: inline-block;" class="glyphicon glyphicon-question-sign">                                    </span>                                    <br />                                    <label style="font-weight:normal;margin-left:20px">                                        <input type="checkbox" ng-model="option.isPatientContactAllowed" />允许查看患者联系方式                                    </label>                                    <label style="font-weight:normal;margin-left:5px" ng-show="option.isPatientContactAllowed">                                        <input type="checkbox" ng-model="option.isPatientContactTempAllowed" />使用手动方式查看                                        <span class="glyphicon glyphicon-eye-open"></span>                                    </label>                                    <br />                                    <label style="font-weight:normal;margin-left:20px">                                        <input type="checkbox" ng-model="option.isPatientIdentityCardAllowed" />允许查看患者身份信息                                    </label>                                    <br />                                    <label style="font-weight:normal;margin-left:20px">                                        <input type="checkbox" ng-model="option.isReportPatientContactAllowed" />允许在报表中查看患者联系方式                                    </label>                                    <br />                                    <label style="font-weight:normal;margin-left:20px">                                        <input type="checkbox" ng-model="option.isReportPatientIdentityCardAllowed" />允许在报表中查看患者身份信息                                    </label>                                </div>                                <div style="padding:10px 10px 10px 30px;">                                    <label style="font-size:16px;">进销存数据权限</label>                                    <br />                                    <label style="font-weight:normal;margin-left:20px">                                        <input type="checkbox" ng-model="option.isProcurementPriceAllowed" />允许查看下推采购入库单的采购价格                                        <span title="数据权限开启后，能查看下推采购入库单采购价格。" style="display: inline-block;" class="glyphicon glyphicon-question-sign">                                        </span>                                    </label>                                    <br />                                    <label style="font-weight:normal;margin-left:20px">                                        <input type="checkbox" ng-model="option.isInventoryCostAllowed" />允许仓库查看单个物品库内成本                                        <span title="数据权限开启后，能查看单个物品库存成本。" style="display: inline-block;" class="glyphicon glyphicon-question-sign">                                        </span>                                    </label>                                </div>                            </div>                        </div>                    </div>                    <div class="permission-mask" ng-show="role.isTenantAdministrator"></div>                </div>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="save2()" ng-show="!role.isTenantAdministrator">保存</button>    </div></div>');templateCache.put('/app/tenant/views/sharing-mgmt-view.html','<style>    .sharing-mgmt-container .flex-panel-item {        margin-right: 20px;    }    .sharing-mgmt-container .control-label {        margin-right: 10px;    }    .sharing-mgmt-container .panel-btn    {        margin-left: 5px;    }</style><div class="ares-main-content sharing-mgmt-container" ares-clean-kendo>    <div ng-repeat="option in options track by option.category" index="{{ ::$index }}"         ng-class="option.editModeActive ? \'panel-info\' : \'panel-default\'" class="panel " ng-if="option.isParentPublic || option.isGroup">        <div class="panel-heading">{{::option.title}}            <span class="glyphicon glyphicon-question-sign"                tooltip=”{{::option.tips}}“                tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">            </span>            <button class="btn btn-primary btn-xs panel-btn pull-right" ng-if="!option.editModeActive" ng-click="onEdit(option, $index)">                <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>&nbsp;编辑            </button>             <button class="btn btn-primary btn-xs panel-btn pull-right" ng-if="option.editModeActive" ng-click="onSave(option, $index)">                <span class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span>&nbsp;保存            </button>            <button class="btn btn-primary btn-xs panel-btn pull-right" ng-if="option.editModeActive" ng-click="onCancel(option, $index)">                <span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>&nbsp;取消            </button>        </div>        <div class="panel-body">            <ul class="flex-panel">                <li class="flex-panel-item" ng-if="option.isParentPublic">                    <label class="control-label">使用上级共享数据</label>                    <input bs-switch type="checkbox" switch-on-text="开" switch-off-text="关" switch-active="{{option.editModeActive}}"                        ng-Model="option.isParentEnabled">                </li>                <li class="flex-panel-item" ng-if="option.isParentPublic">                    <button type="button" class="btn btn-primary" ng-disabled="!option.isParentEnabled || !option.editModeActive" ng-click="onSync(option, $index)">                        <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>                    </button>                </li>                                  <li class="flex-panel-item" ng-if="option.isGroup">                    <label class="control-label">允许下级使用共享数据</label>                    <input bs-switch type="checkbox" switch-on-text="开" switch-off-text="关" switch-active="{{option.editModeActive}}"                        ng-Model="option.isPublic">                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/tenant/views/supply-chain-config-view.html','<div class="ares-main-content supply-chain-config-container enyo" ares-clean-kendo>    <style scoped>        body.ares3 .supply-chain-config-container .config-top-bar.fix {            left: 88px;            width: calc(100% - 88px);        }        body.ares3.submenu-visible .supply-chain-config-container .config-top-bar.fix {            width: calc(100% - 208px);            left: 208px;        }        body.ares3 .supply-chain-config-container .config-top-bar .config-top-bar-actions .action {            margin-top: -5px;        }        .supply-chain-config-container {            position: relative;        }            .supply-chain-config-container hr {                margin: 0;            }            .supply-chain-config-container .config-section-header {                height: 50px;                line-height: 50px;                font-size: 16px;                padding-left: 16px;                width: 100%;                background: #eff7ff;            }            .supply-chain-config-container .config-section-header-lite {                height: 30px;                line-height: 30px;                font-size: 16px;                padding-left: 16px;                width: 100%;            }            .supply-chain-config-container .config-section {                padding-left: 16px;                margin-bottom: 20px;            }            .supply-chain-config-container .config-title {                margin-top: 20px;                margin-bottom: 20px;                font-size: 16px;            }            .supply-chain-config-container .config-on {                background: transparent url(/Content/imgs/icon-on-off.png) no-repeat 0 0 !important;                width: 40px !important;                height: 18px !important;                background-size: cover;                transform: scale(1);                cursor: pointer;            }            .supply-chain-config-container .config-off {                background: transparent url(/Content/imgs/icon-on-off.png) no-repeat -40px 0 !important;                width: 40px !important;                height: 18px !important;                background-size: cover;                transform: scale(1);                cursor: pointer;            }            .supply-chain-config-container .number-input input {                width: 35px;                height: 22px;                border-left: 0;                border-right: 0;                border-top: 1px solid #e3e3e3;                border-bottom: 1px solid #e3e3e3;                text-align: center;                float: left;            }            .supply-chain-config-container .number-input a {                width: 17px;                height: 22px;                display: inline-block;                float: left;                text-align: center;                border: 1px solid #e3e3e3;                color: #575d6a;                user-select: none;                -webkit-user-select: none;            }                .supply-chain-config-container .number-input a.disabled {                    cursor: default;                }            .supply-chain-config-container .switch-item {                width: 350px;                margin: 10px 0;            }                .supply-chain-config-container .switch-item .switch-item-switcher {                    margin-left: 20px;                }            .supply-chain-config-container .btn-primary {                background: #00a6c9;                color: #fff;                padding: 6px 18px;                border-radius: 0;                border: 1px solid #00a6c9;            }            .supply-chain-config-container .btn-default {                background: #fff;                color: #575d6a;                padding: 6px 18px;                border-radius: 0;                border: 1px solid #e3e3e3;            }            .supply-chain-config-container .multi-select-item {                margin-bottom: 10px;            }                .supply-chain-config-container .multi-select-item > span {                    line-height: 30px;                }            .supply-chain-config-container .k-multiselect {                width: 600px;                margin-left: 20px;                border-radius: 0;            }                .supply-chain-config-container .k-multiselect ul {                    float: left;                    padding-top: 2px;                }                .supply-chain-config-container .k-multiselect li.k-button {                    background: #00a6c9;                    border-radius: 4px !important;                    height: 24px;                    line-height: 24px;                    font-size: 14px;                    padding-top: 0;                    padding-bottom: 0;                    border: 0;                    color: #fff;                    margin-left: 5px;                }                    .supply-chain-config-container .k-multiselect li.k-button.k-state-hover {                        background: #008fae;                    }                    .supply-chain-config-container .k-multiselect li.k-button span.k-select .k-icon {                        display: none;                    }                    .supply-chain-config-container .k-multiselect li.k-button span.k-select:before {                        content: \'X\';                        padding-right: 2px;                    }                .supply-chain-config-container .k-multiselect input.k-input {                    margin-top: 4px;                }            .supply-chain-config-container .free-term {                margin: 20px auto;            }            .supply-chain-config-container .free-list {                margin-left: 28px;            }                .supply-chain-config-container .free-list li {                    list-style-type: none;                    position: relative;                }            .supply-chain-config-container .free-list-term {                background: #00a6c9;                border-radius: 12px;                width: 181px;                height: 26px;                line-height: 26px;                overflow: hidden;                white-space: nowrap;                text-overflow: ellipsis;                position: relative;                color: #fff;                text-align: center;            }            .supply-chain-config-container .free-list-btn {                cursor: pointer;            }            .supply-chain-config-container .free-list-term.active {                background: #00A6C9;                color: #fff;                padding-right: 30px;            }            .supply-chain-config-container .list-input-group {                margin-bottom: 10px;                background: #d6d9df;                border: 1px solid #fff;            }                .supply-chain-config-container .list-input-group .list-input-group-input {                    background: #d6d9df;                }                .supply-chain-config-container .list-input-group.focused {                    border: 1px solid #00A6C9;                    background: #fff;                }                    .supply-chain-config-container .list-input-group.focused .list-input-group-input {                        background: #fff;                        color: #575d6a;                    }            .supply-chain-config-container .list-input-btn {                background: #fff;                position: absolute;                right: 5px;                color: #00A6C9;                cursor: pointer;                padding: 0 5px;            }            .supply-chain-config-container .list-input-group.warning {                border: 1px solid #FF4949;            }                .supply-chain-config-container .list-input-group.warning input::placeholder {                    color: #FF4949;                }                .supply-chain-config-container .list-input-group.warning .list-input-btn {                    color: #FF4949;                }            .supply-chain-config-container .list-input-group-input {                border: 0;                height: 22px;                max-width: unset;                width: calc(100% - 20px);            }            .supply-chain-config-container .oper-btn {                position: absolute;                top: 3px;                right: 0;                margin-right: -50px;            }                .supply-chain-config-container .oper-btn .iconfont {                    font-size: 14px;                    color: #575d6a;                    margin-right: 5px;                    cursor: pointer;                }                .supply-chain-config-container .oper-btn:hover .iconfont {                    color: #00a6c9;                }            .supply-chain-config-container .config-top-bar {                margin-top: -46px;                margin-right: 20px;                height: 46px;                width: 200px;                position: absolute;                right: 0;            }                .supply-chain-config-container .config-top-bar .title {                    display: none;                    font-size: 18px;                    line-height: 50px;                    color: #00a6c9;                    float: left;                }                .supply-chain-config-container .config-top-bar .config-top-bar-actions {                    width: 100%;                }                    .supply-chain-config-container .config-top-bar .config-top-bar-actions .action {                        float: right;                        width: 100px;                        line-height: 32px;                        font-size: 14px;                        color: #fff;                        background: #00a6c9;                        text-align: center;                        cursor: pointer;                    }                    .supply-chain-config-container .config-top-bar .config-top-bar-actions .cancel {                        float: right;                        line-height: 32px;                        margin-right: 30px;                        color: #575d6a;                        cursor: pointer;                        font-size: 14px;                    }                .supply-chain-config-container .config-top-bar.fix {                    width: calc(100% - 100px);                    height: 50px;                    position: fixed;                    top: 50px;                    left: 100px;                    background: #fff;                    box-shadow: 0 3px 10px 0 rgba(199, 207, 219, 0.72);                    padding-left: 18px;                    border-bottom: 3px solid #00a6c9;                    margin-top: 0;                    z-index: 1;                }                    .supply-chain-config-container .config-top-bar.fix .title {                        display: block;                    }                    .supply-chain-config-container .config-top-bar.fix .action {                        line-height: 50px;                        font-size: 16px;                    }                    .supply-chain-config-container .config-top-bar.fix .cancel {                        line-height: 50px;                        font-size: 16px;                    }            .supply-chain-config-container .in-warehouse-types label,            .supply-chain-config-container .out-warehouse-types label,            .supply-chain-config-container .warning-warehouses label {                margin-left: 10px;                font-weight: normal;                min-width: 105px;            }            .supply-chain-config-container .edit-mask {                width: 100%;                height: 100%;                background: #d8d8d8;                opacity: 0.2;                z-index: 1;                position: absolute;                top: 46px;                left: 0;            }    </style>    <div class="edit-mask" ng-hide="isEdit"></div>    <div class="config-top-bar">        <div class="title">进销存配置</div>        <div class="config-top-bar-actions clearfix">            <div class="action" ng-click="editConfig()" ng-show="!isEdit">开启编辑</div>            <div class="action" ng-click="save()" ng-show="isEdit">保存</div>            <span ng-show="isEdit" ng-click="cancel()" class="cancel">取消</span>        </div>    </div>    <div class="config-section-header">        基础功能    </div>    <div class="config-section">        <div class="clearfix switch-item" style="margin: 0;" ng-show="isGroup">            <div class="config-title pull-left">总部库存管理</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit" style="margin-top: 22px;"                 ng-class="officeSetting.isGroupInventoryEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isGroupInventoryEnabled\')">                &nbsp;            </div>            <span class="pull-right" style="margin-top: 22px;"                  ng-style="{color: officeSetting.isGroupInventoryEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isGroupInventoryEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <hr ng-show="isGroup" />        <div class="config-title" ng-show="officeSetting.isGroupInventoryEnabled">            配置库存管理可新建的出入库类型        </div>        <div class="in-warehouse-types" ng-show="officeSetting.isGroupInventoryEnabled">            <span style="margin-right: 6px;">入库类型</span>            <input type="checkbox" data-value="1" id="inWarehouseType1" class="inventory-checkbox"                   ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="inWarehouseType1">采购入库</label>            <input type="checkbox" data-value="5" id="inWarehouseType5" class="inventory-checkbox"                   ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="inWarehouseType5">退领入库</label>            <input type="checkbox" data-value="6" ng-if="!isGroup" id="inWarehouseType6" class="inventory-checkbox"                   ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="inWarehouseType6" ng-if="!isGroup">销售退货入库</label>            <input type="checkbox" data-value="0" id="inWarehouseType0" class="inventory-checkbox"                   ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="inWarehouseType0">零散入库</label>            <input type="checkbox" data-value="9" id="inWarehouseType9" class="inventory-checkbox" ng-disabled="!isEdit"                   ng-show="isConsignmentModeEnabled">            <label class="inventory-checkbox-label" ng-show="isConsignmentModeEnabled&&!isGroup"                   for="inWarehouseType9">寄售入库</label>        </div>        <div class="out-warehouse-types" ng-show="officeSetting.isGroupInventoryEnabled"             style="margin-top: 20px; margin-bottom: 20px;">            <span style="margin-right: 6px;">出库类型</span>            <input type="checkbox" data-value="1" id="outWarehouseType1" class="inventory-checkbox"                   ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="outWarehouseType1">领用出库</label>            <input type="checkbox" data-value="6" id="outWarehouseType6" class="inventory-checkbox"                   ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="outWarehouseType6">采购退货出库</label>            <input type="checkbox" data-value="5" id="outWarehouseType5" class="inventory-checkbox"                   ng-disabled="!isEdit" ng-if="!isGroup">            <label class="inventory-checkbox-label" for="outWarehouseType5" ng-if="!isGroup">销售出库</label>            <input type="checkbox" data-value="7" id="outWarehouseType7" class="inventory-checkbox"                   ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="outWarehouseType7">报废出库</label>            <input type="checkbox" data-value="0" id="outWarehouseType0" class="inventory-checkbox"                   ng-disabled="!isEdit">            <label class="inventory-checkbox-label" for="outWarehouseType0">零散出库</label>        </div>        <hr>        <div class="clearfix switch-item" ng-show="officeSetting.isGroupInventoryEnabled">            <div class="pull-left">默认数量预警</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isInventoryCountWarnEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isInventoryCountWarnEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isInventoryCountWarnEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isInventoryCountWarnEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <div class="clearfix" style="margin-top:15px;"             ng-show="officeSetting.isInventoryCountWarnEnabled && officeSetting.isGroupInventoryEnabled">            <span style="float:left;">默认库存预警数量</span>            <div class="number-input" style="float:left; margin-left: 10px;">                <a class="number-input-btn" ng-class="isEdit ? \'\' : \'disabled\'"                   ng-click="opNumberInput(\'reduce\', \'inventoryCountLowLimit\')">-</a>                <input type="text" ng-model="officeSetting.inventoryCountLowLimit" ng-disabled="!isEdit"                       ng-keyup="ensureLegalNumber(\'inventoryCountLowLimit\')">                <a class="number-input-btn" ng-class="isEdit ? \'\' : \'disabled\'"                   ng-click="opNumberInput(\'plus\', \'inventoryCountLowLimit\')">+</a>            </div>        </div>        <div class="warning-warehouses"             ng-show="officeSetting.isInventoryCountWarnEnabled && officeSetting.isGroupInventoryEnabled"             style="margin-top: 15px; margin-bottom: 15px;">            <span style="margin-right: 6px;">默认预警仓库</span>            <span ng-repeat="warehouse in warehouses">                <input type="checkbox" ng-if="warehouse.id>0" ng-attr-data-value="{{warehouse.id}}"                       ng-attr-id="warningWarehouse{{warehouse.id}}" class="inventory-checkbox" ng-disabled="!isEdit">                <label class="inventory-checkbox-label" ng-if="warehouse.id>0"                       ng-attr-for="warningWarehouse{{warehouse.id}}">{{warehouse.name}}</label>            </span>        </div>        <hr>        <div class="clearfix switch-item" ng-show="officeSetting.isGroupInventoryEnabled">            <div class="pull-left">有效期预警</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isInventoryValidityWarnEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isInventoryValidityWarnEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isInventoryValidityWarnEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isInventoryValidityWarnEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <div class="clearfix" style="margin-bottom: 10px;"             ng-show="officeSetting.isInventoryValidityWarnEnabled && officeSetting.isGroupInventoryEnabled">            <span class="pull-left">                默认预警提前天数                <i class="iconfont icon-xinxi1 enyo-text-info" data-toggle="tooltip" data-placement="bottom"                   title="在距离有效期为设置的天数时发送预警消息"></i>            </span>            <div class="number-input" style="float:left; margin-left: 10px;">                <a class="number-input-btn" ng-class="isEdit ? \'\' : \'disabled\'"                   ng-click="opNumberInput(\'reduce\', \'inventoryValidityWarnDayOffset\')">-</a>                <input type="text" ng-model="officeSetting.inventoryValidityWarnDayOffset" ng-disabled="!isEdit"                       ng-keyup="ensureLegalNumber(\'inventoryValidityWarnDayOffset\')">                <a class="number-input-btn" ng-class="isEdit ? \'\' : \'disabled\'"                   ng-click="opNumberInput(\'plus\', \'inventoryValidityWarnDayOffset\')">+</a>            </div>        </div>        <hr>        <div class="switch-item clearfix" ng-show="officeSetting.isGroupInventoryEnabled">            <div class="pull-left">入库时自动拆包</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isAutoUnpackingEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isAutoUnpackingEnabled\')">                &nbsp;            </div>            <span class="pull-right" ng-style="{color: officeSetting.isAutoUnpackingEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isAutoUnpackingEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <hr />        <div class="clearfix switch-item" ng-show="officeSetting.isGroupInventoryEnabled">            <div class="pull-left">                仓库严格管理模式                <i class="iconfont icon-xinxi1 enyo-text-info" data-toggle="tooltip" data-placement="bottom"                   title="只允许仓库负责人可以对仓库执行出入库相关操作，负责人可以进销存-仓库-库存管理-仓库管理中配置"></i>            </div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isStrictWarehouseAdminEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isStrictWarehouseAdminEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isStrictWarehouseAdminEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isStrictWarehouseAdminEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <div class="clearfix switch-item" ng-show="isRoot && isGroup && isRegularChain">            <div class="pull-left">                跨机构调拨功能            </div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="tenantSetting.isAcrossOfficeInventoryTransferEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isAcrossOfficeInventoryTransferEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: tenantSetting.isAcrossOfficeInventoryTransferEnabled? \'#00a6c9\' :\'#666a73\'}">                {{tenantSetting.isAcrossOfficeInventoryTransferEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <!--<div class="switch-item clearfix" ng-show="!isGroup || !isRegularChain">            <div class="config-title pull-left">采购模式</div>            <div class="number-input" style="margin-left: 60px;width:1000px">                <div class="checkbox inline" style="margin-left:20px;margin-top:0;">                    <input type="radio" name="inventoryModes" value="0" ng-model="officeSetting.procureMode" ng-disabled="!isEdit" style="margin-top: 0;">                    <span style="color: #9397a2; margin-left: 10px;">自主采购（可查看总部设置好的供应商和报价，自主下单，总部可审批）</span>                </div>                <div class="checkbox inline" style="margin-left: 20px;margin-top:0;">                    <input type="radio" name="inventoryModes" value="1" ng-model="officeSetting.procureMode" ng-disabled="!isEdit" style="margin-top: 0;">                    <span style="color: #9397a2; margin-left: 10px;">总部代采购（可查看总部设置好的供应商和报价，提需求让总部下单）</span>                </div>                <div class="checkbox inline" style="margin-left: 20px;margin-top:0;">                    <input type="radio" name="inventoryModes" value="2" ng-model="officeSetting.procureMode" ng-disabled="!isEdit" style="margin-top: 0;">                    <span style="color: #9397a2; margin-left: 10px;">总部发货（可查看总部设置好的供应商和报价，提需求让总部下单）</span>                </div>            </div>        </div>-->    </div>    <div class="config-section-header">        业务扩展    </div>    <div class="config-section-header-lite">        采购业务    </div>    <div class="config-section" style="margin-bottom: 10px">        <div class="clearfix switch-item">            <span style="float:left;">                采购助手累加过去消耗数量的统计天数 <i class="iconfont icon-xinxi1 enyo-text-info" data-toggle="tooltip"                                     data-placement="bottom" title="修改完成后，该配置需第二天生效。"></i>            </span>            <div class="number-input" style="float:left; margin-left: 10px;">                <a class="number-input-btn" ng-class="isEdit ? \'\' : \'disabled\'"                   ng-click="opNumberInput(\'reduce\', \'procurementAssistantConfig.historyStatDayCount\')">-</a>                <input type="text" ng-model="officeSetting.procurementAssistantConfig.historyStatDayCount"                       ng-disabled="!isEdit"                       ng-keyup="ensureLegalNumber(\'procurementAssistantConfig.historyStatDayCount\')">                <a class="number-input-btn" ng-class="isEdit ? \'\' : \'disabled\'"                   ng-click="opNumberInput(\'plus\', \'procurementAssistantConfig.historyStatDayCount\')">+</a>            </div>        </div>    </div>    <div class="config-section" style="margin-bottom:0">        <div class="clearfix switch-item">            <div class="pull-left">采购单下推入库金额默认分摊规则</div>        </div>        <div class="clearfix switch-item">            <div class="pull-left" style="margin-top:4px;width:100px;">整单折扣</div>            <div class="pull-left" style="margin-top:0;">                <input type="radio" class="enyo-radio" id="averageAllocationRadio1" value="1"                       ng-model="officeSetting.procurementCostAllocationRule.orderDiscount">                <label for="averageAllocationRadio1" class="enyo-radio-label">按物品金额比例均摊</label>                &nbsp; &nbsp;                <input type="radio" class="enyo-radio" id="noAllocationRadio1" value="0"                       ng-model="officeSetting.procurementCostAllocationRule.orderDiscount">                <label for="noAllocationRadio1" class="enyo-radio-label">不分摊</label>            </div>        </div>        <div class="clearfix switch-item">            <div class="pull-left" style="margin-top:5px;width:100px;">运费</div>            <div class="pull-left " style="margin-top:0;">                <input type="radio" class="enyo-radio" id="averageAllocationRadio2" value="1"                       ng-model="officeSetting.procurementCostAllocationRule.freight">                <label for="averageAllocationRadio2" class="enyo-radio-label">按物品金额比例均摊</label>                &nbsp; &nbsp;                <input type="radio" class="enyo-radio" id="noAllocationRadio2" value="0"                       ng-model="officeSetting.procurementCostAllocationRule.freight">                <label for="noAllocationRadio2" class="enyo-radio-label">不分摊</label>            </div>        </div>    </div>    <div class="config-section" style="margin-bottom:-5px" ng-show="isRoot && isGroup && isRegularChain">        <div class="clearfix switch-item">            <div class="pull-left">                采购价格锁定                <i class="iconfont icon-xinxi1 enyo-text-info" data-toggle="tooltip" data-placement="bottom"                   title="采购制单时，只能按照设置的供应商报价下单"></i>            </div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isProcurementPriceLockEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isProcurementPriceLockEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isProcurementPriceLockEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isProcurementPriceLockEnabled ? \'启用\': \'未启用\'}}            </span>        </div>    </div>    <div class="config-section" style="margin-bottom:-5px"         ng-show="isRoot&&((isGroup && isRoot) || !isGroup || (isGroup && !isRegularChain))">        <div class="clearfix switch-item">            <div class="pull-left">                商城非协议商品采购申请流程            </div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isNeedCheckAgreePrice ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isNeedCheckAgreePrice\')">                &nbsp;            </div>            <span class="pull-right" ng-style="{color: officeSetting.isNeedCheckAgreePrice? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isNeedCheckAgreePrice ? \'启用\': \'未启用\'}}            </span>        </div>    </div>    <div class="config-section" style="margin-bottom:-5px" ng-show="isGroup && isRoot">        <div class="clearfix switch-item">            <div class="pull-left">                按机构设置首选供应商            </div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isOfficePreferredDealerEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isOfficePreferredDealerEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isOfficePreferredDealerEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isOfficePreferredDealerEnabled ? \'启用\': \'未启用\'}}            </span>        </div>    </div>    <hr />    <div class="config-section-header-lite" style="margin-top:15px;">        领用业务    </div>    <div class="config-section clearfix" ng-if="(isRoot && isGroup && isRegularChain)||!isGroup || !isRegularChain"         style="margin-bottom:0px">        <div class="clearfix switch-item">            <div class="pull-left">领用线上申请审批流程</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isInventoryTakeWorkflowEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isInventoryTakeWorkflowEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isInventoryTakeWorkflowEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isInventoryTakeWorkflowEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <div class="clearfix switch-item" ng-show="officeSetting.isInventoryTakeWorkflowEnabled">            <div class="pull-left">允许超库存数领用</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isInventoryOverflowTakeEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isInventoryOverflowTakeEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isInventoryOverflowTakeEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isInventoryOverflowTakeEnabled ? \'启用\': \'未启用\'}}            </span>        </div>    </div>    <div class="config-section clearfix" style="margin-bottom:10px"         ng-show="officeSetting.isInventoryTakeWorkflowEnabled">        <div class="clearfix">            <div class="pull-left" style="margin-top:4px;width:120px;">领用可见仓库</div>            <div class="pull-left" style="margin-top:0;">                <input type="radio" class="enyo-radio" id="noneRadio" value="0"                       ng-model="officeSetting.inventoryTakeVisibleWarehouse.visibleMode"                       ng-change="changeVisibleWarehouseMode(0)">                <label for="noneRadio" class="enyo-radio-label">不指定</label>                &nbsp; &nbsp;                <input type="radio" class="enyo-radio" id="allProviderRadio" value="1"                       ng-model="officeSetting.inventoryTakeVisibleWarehouse.visibleMode"                       ng-change="changeVisibleWarehouseMode(1)">                <label for="allProviderRadio" class="enyo-radio-label">所有员工</label>                &nbsp; &nbsp;                <input type="radio" class="enyo-radio" id="byDepartmentRadio" value="2"                       ng-model="officeSetting.inventoryTakeVisibleWarehouse.visibleMode"                       ng-change="changeVisibleWarehouseMode(2)">                <label for="byDepartmentRadio" class="enyo-radio-label">按科室指定</label>            </div>        </div>    </div>    <div class="config-section clearfix" style="margin-bottom:10px"         ng-if="officeSetting.isInventoryTakeWorkflowEnabled&&officeSetting.inventoryTakeVisibleWarehouse&&officeSetting.inventoryTakeVisibleWarehouse.visibleMode > 0">        <div class="clearfix"             ng-repeat="visibleWarehouse in officeSetting.inventoryTakeVisibleWarehouse.visibleWarehouses">            <div class="pull-left" style="margin-left:0px;margin-right:20px"                 ng-if="officeSetting.inventoryTakeVisibleWarehouse.visibleMode==2">                <input class="form-control" style="width: 120px; display: inline" ng-model="visibleWarehouse.department"                       id="departmentName{{$index}}" name="itemName" />            </div>            <div class="pull-left">                <label for="specifiedWarehouse{{$index}}" style="font-weight:inherit;line-height:30px;">可见仓库</label>            </div>            <div class="pull-left">                <select id="specifiedWarehouse{{$index}}" name="specifiedWarehouse{{$index}}" class="not-ignore"                        style="width:350px;min-height:30px"></select>            </div>            <div class="pull-left oper-btn" style="position:inherit;right:inherit;line-height:30px;margin-left:15px"                 ng-if="officeSetting.inventoryTakeVisibleWarehouse.visibleMode==2">                <span class="iconfont icon-tianjia" ng-click="addVisibleWarehouse()" ng-show="isEdit"></span>                &nbsp;                <span class="iconfont icon-shanchu" ng-click="deleteVisibleWarehouse(visibleWarehouse,$index)"                      ng-show="isEdit"></span>            </div>        </div>    </div>    <div class="config-section clearfix" style="margin-top:-10px"         ng-if="(isRoot && isGroup && isRegularChain)||!isGroup || !isRegularChain">        <div class="clearfix switch-item">            <div class="pull-left">领用支持按百分比加价</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="isInventoryTakePriceByPercentEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isInventoryTakePriceByPercentEnabled\')">                &nbsp;            </div>            <span class="pull-right" ng-style="{color: isInventoryTakePriceByPercentEnabled? \'#00a6c9\' :\'#666a73\'}">                {{isInventoryTakePriceByPercentEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <hr>    </div>    <div class="config-section-header-lite">        销售业务    </div>    <div class="config-section clearfix" ng-if="(isRoot && isGroup && isRegularChain)||!isGroup || !isRegularChain">        <div class="clearfix switch-item">            <div class="pull-left">收费下推销售单流程</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isInventoryProductSaleEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isInventoryProductSaleEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isInventoryProductSaleEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isInventoryProductSaleEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <hr>    </div>    <div class="config-section-header" ng-if="isRoot && isGroup && isRegularChain">        集采模式    </div>    <div class="config-section" ng-if="isRoot && isGroup && isRegularChain">        <div class="clearfix switch-item">            <div class="pull-left">总部受理机构采购申请</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="isGroupProcurementApplyEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isGroupProcurementApplyEnabled\')">                &nbsp;            </div>            <span class="pull-right" ng-style="{color: isGroupProcurementApplyEnabled? \'#00a6c9\' :\'#666a73\'}">                {{isGroupProcurementApplyEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <div class="clearfix" ng-if="isGroupProcurementApplyEnabled">            <span class="pull-left" style="margin-top: 6px; width: 80px;">总部角色</span>            <div class="pull-left">                <div>                    <input type="radio" class="enyo-radio" id="rootAsPurchaser" name="groupProcurementRole"                           ng-model="groupProcurementRole.value" value="purchaser"                           ng-change="onGroupProcurementRoleChange()">                    <label for="rootAsPurchaser" class="enyo-radio-label">采购方 （总部作为采购方代机构下单）</label>                </div>                <div>                    <input type="radio" class="enyo-radio" id="rootAsSeller" name="groupProcurementRole"                           ng-model="groupProcurementRole.value" value="seller" ng-change="onGroupProcurementRoleChange()">                    <label for="rootAsSeller" class="enyo-radio-label">销售方 （总部作为销售方，向机构销售物资）</label>                </div>            </div>        </div>        <div ng-if="isGroupProcurementApplyEnabled" style="font-size: 16px; margin: 5px 0;">各机构采购模式配置</div>        <table class="enyo-table-header-primary" ng-if="isGroupProcurementApplyEnabled" style="width: auto;">            <tr>                <th style="width: 230px;" class="enyo-border-right">机构名称</th>                <th style="width: 150px;">采购</th>                <th style="width: 150px;" class="enyo-border-right">                    <span ng-hide="groupProcurementRole.value === \'seller\'">                        <input type="checkbox" class="enyo-checkbox" id="selectAllRootGroupProcurement"                               ng-model="groupProcurementCheckAllStatus.procurement"                               ng-change="onSelectAllRootGroupProcurement()">                        <label for="selectAllRootGroupProcurement"                               class="enyo-checkbox-label enyo-checkbox-label-reverse">总部统一采购</label>                    </span>                </th>                <th style="width: 150px;">结算</th>                <th style="width: 150px;">                    <span ng-hide="groupProcurementRole.value === \'seller\'">                        <input type="checkbox" class="enyo-checkbox" id="selectAllRootGroupSettlement"                               ng-model="groupProcurementCheckAllStatus.settlement"                               ng-change="onSelectAllRootGroupSettlement()">                        <label for="selectAllRootGroupSettlement"                               class="enyo-checkbox-label enyo-checkbox-label-reverse">总部统一结算</label>                    </span>                </th>            </tr>        </table>        <table class="enyo-basic-table enyo-basic-table-50 enyo-basic-table-border"               id="supplychain-office-procurement-table" ng-if="isGroupProcurementApplyEnabled">            <tr ng-repeat="office in regularOfficeList">                <td style="width: 230px;">{{office.name}}</td>                <td style="width: 150px;">                    <input type="checkbox" class="enyo-checkbox" id="self-procurement-checkbox-{{office.id}}"                           ng-model="office.isSelfProcurementEnabled"                           ng-disabled="groupProcurementRole.value === \'seller\'">                    <label for="self-procurement-checkbox-{{office.id}}" class="enyo-checkbox-label">自主采购</label>                </td>                <td style="width: 150px;">                    <input type="checkbox" class="enyo-checkbox" id="group-procurement-checkbox-{{office.id}}"                           ng-model="office.isGroupProcurementEnabled">                    <label for="group-procurement-checkbox-{{office.id}}" class="enyo-checkbox-label">总部采购</label>                </td>                <td style="width: 150px;">                    <input type="radio" class="enyo-radio" name="self-settlement-radio-{{office.id}}"                           id="self-settlement-radio-{{office.id}}" ng-model="office.isGroupSettlementEnabled"                           ng-value="false" ng-disabled="groupProcurementRole.value === \'seller\'">                    <label for="self-settlement-radio-{{office.id}}" class="enyo-radio-label">自主结算</label>                </td>                <td style="width: 150px;">                    <input type="radio" class="enyo-radio" name="self-settlement-radio-{{office.id}}"                           id="group-settlement-radio-{{office.id}}" ng-model="office.isGroupSettlementEnabled"                           ng-value="true">                    <label for="group-settlement-radio-{{office.id}}" class="enyo-radio-label">总部结算</label>                </td>            </tr>        </table>    </div>    <div class="config-section-header" ng-hide="!isRoot && isRegularChain">        物品扩展    </div>    <div class="config-section clearfix" ng-hide="!isRoot && isRegularChain">        <div class="switch-item clearfix">            <span class="pull-left" style="margin-top: 3px;">物品编码管理</span>            <div class="pull-left free-list">                <div class="checkbox inline" style="margin-left:20px;margin-top:0;">                    <input class="inventory-checkbox" id="allowInsideCodeCheckbox" type="checkbox"                           ng-model="allowInsideCode" ng-disabled="!isEdit">                    <label class="inventory-checkbox-label" for="allowInsideCodeCheckbox">启用内部编码</label>                </div>                <div class="checkbox inline" style="margin-left: 20px;margin-top:0;">                    <input class="inventory-checkbox" id="allowBarCodeCheckbox" type="checkbox" ng-model="allowBarCode"                           ng-disabled="!isEdit">                    <label class="inventory-checkbox-label" for="allowBarCodeCheckbox">启用物品条形码</label>                </div>                <div class="checkbox inline" style="margin-left: 20px;margin-top:0;">                    <input class="inventory-checkbox" id="allowFirmCodeCheckbox" type="checkbox"                           ng-model="allowFirmCode" ng-disabled="!isEdit">                    <label class="inventory-checkbox-label" for="allowFirmCodeCheckbox">启用厂商编码</label>                </div>                <div class="checkbox inline" style="margin-left: 20px;margin-top:0;">                    <input class="inventory-checkbox" id="validateCodeUniquenessCheckbox" type="checkbox"                           ng-model="validateCodeUniqueness" ng-disabled="!isEdit">                    <label class="inventory-checkbox-label" for="validateCodeUniquenessCheckbox">编码唯一性验证</label>                </div>            </div>        </div>        <hr />        <div class="clearfix switch-item">            <span class="pull-left">物品自由项</span>            <div class="pull-left free-list">                <ul>                    <li class="free-list-li" ng-repeat="item in freeTermTypes">                        <div class="free-list-term list-input-group"                             ng-class="{\'focused\':item.isEdit,\'warning\':item.isEmpty}">                            <input type="text" class="list-input-group-input" ng-model="item.itemValue"                                   placeholder="请输入自由项名称" ng-disabled="!item.isEdit">                            <span class="list-input-btn" ng-click="onSaveNewItem(item, $event)" ng-if="item.isEdit">                                <i class="iconfont icon-queren"></i>                            </span>                        </div>                        <div class="oper-btn">                            <span class="iconfont icon-bianji" ng-click="editFreeTerm(item, $index)"                                  ng-show="isEdit"></span>                            <span class="iconfont icon-shanchu" ng-click="deleteFreeTerm(item,$index)"                                  ng-show="isEdit"></span>                        </div>                    </li>                    <li class="free-list-term free-list-btn" ng-click="onNewBtnClick(item, $event)"                        ng-if="freeTermTypes.length < 3" ng-show="isEdit">                        新建自由项                    </li>                </ul>            </div>        </div>        <hr />        <div class="clearfix switch-item">            <div class="pull-left">物品按常用名显示</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isShowProductByNickNameEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isShowProductByNickNameEnabled\')">                &nbsp;            </div>            <span class="pull-right"                  ng-style="{color: officeSetting.isShowProductByNickNameEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isShowProductByNickNameEnabled ? \'启用\': \'未启用\'}}            </span>        </div>    </div>    <div class="config-section-header">        商城    </div>    <div class="config-section clearfix">        <div class="clearfix switch-item">            <div class="pull-left">默认收货地址</div>            <div class="pull-right switch-item-switcher" ng-disabled="!isEdit"                 ng-class="officeSetting.isShippingAddressEnabled ? \'config-on\':\'config-off\'"                 ng-click="changeRequired(\'isShippingAddressEnabled\')">                &nbsp;            </div>            <span class="pull-right" ng-style="{color: officeSetting.isShippingAddressEnabled? \'#00a6c9\' :\'#666a73\'}">                {{officeSetting.isShippingAddressEnabled ? \'启用\': \'未启用\'}}            </span>        </div>        <div class="clearfix switch-item" ng-show="officeSetting.isShippingAddressEnabled">            <div class="pull-left" style="margin-top:5px;">收货人</div>            <div class="pull-right switch-item-switcher" style="margin-left:0px;width:280px;">                <input type="text" class="form-control" style="display: inline;max-width:280px;" ng-disabled="!isEdit"                       ng-model="currentReceive.contactName">            </div>        </div>        <div class="clearfix switch-item" ng-show="officeSetting.isShippingAddressEnabled">            <div class="pull-left" style="margin-top:5px;">所在地区</div>            <div class="pull-right switch-item-switcher" style="margin-left:0px;width:280px;">                <input class="form-control" style="width: 90px; display: inline" ng-model="currentReceive.province"                       id="province" name="province" ng-disabled="!isEdit" />                <input class="form-control" style="width: 90px; display: inline" ng-model="currentReceive.city"                       id="city" name="city" ng-disabled="!isEdit" />                <input class="form-control" style="width: 90px; display: inline" ng-model="currentReceive.district"                       id="district" name="district" ng-disabled="!isEdit" />            </div>        </div>        <div class="clearfix switch-item" ng-show="officeSetting.isShippingAddressEnabled">            <div class="pull-left" style="margin-top:5px;">地址</div>            <div class="pull-right switch-item-switcher" style="margin-left:0px;width:280px;">                <input class="form-control" style=" display: inline;max-width:280px;" ng-model="currentReceive.content"                       type="text" ng-disabled="!isEdit" />            </div>        </div>        <div class="clearfix switch-item" ng-show="officeSetting.isShippingAddressEnabled">            <div class="pull-left" style="margin-top:5px;">联系方式</div>            <div class="pull-right switch-item-switcher" style="margin-left:0px;width:280px;">                <input class="form-control" style="display: inline;max-width:280px;" type="text" ng-disabled="!isEdit"                       ng-model="currentReceive.contactPhoneNumber" />            </div>        </div>    </div>    <div class="config-section clearfix">        <div class="clearfix" style="margin-top:10px;" ng-repeat="mallNotice in mallNotices">            <div class="pull-left">{{mallNotice.title}}</div>            <div class="pull-left checkbox" style="margin-left:20px;margin-top:0;">                <input type="checkbox" class="inventory-checkbox" id="createrUser{{mallNotice.suffix}}"                       ng-model="mallNotice.mode.createUser" ng-disabled="!isEdit"                       ng-change="changeNotificationMode(mallNotice,mallNotice.relatedId)">                <label for="createrUser{{mallNotice.suffix}}" class="inventory-checkbox-label">下单人</label>            </div>            <div class="pull-left checkbox" style="margin-left:20px;margin-top:0;">                <input type="checkbox" class="inventory-checkbox" id="specifiedUser{{mallNotice.suffix}}"                       ng-model="mallNotice.mode.specifiedUser" ng-disabled="!isEdit"                       ng-change="changeNotificationMode(mallNotice,mallNotice.relatedId)">                <label for="specifiedUser{{mallNotice.suffix}}" class="inventory-checkbox-label">指定员工</label>            </div>            <div class="pull-left">                <select id="users{{mallNotice.suffix}}" name="users{{mallNotice.suffix}}" class="not-ignore"                        style="width:350px"></select>            </div>        </div>    </div></div>');templateCache.put('/app/tenant/views/tenant-permission-config-view.html','<style scoped>    .setting-title-wrap {        overflow: hidden;    }        .setting-title-wrap .title-text {            width: 170px;            padding-top: 8px;            padding-bottom: 8px;            text-align: right;            white-space: nowrap;        }        .setting-title-wrap .title-description {            top: 10px;            right: 30px;        }    .setting-content-wrap {        margin-left: 50px;    }        .setting-content-wrap .content-row-cell {            display: inline-block;            vertical-align: middle;            margin: 0 10px 0 0;            padding-top: 0;            padding-bottom: 0;        }    .ares-main-content .setting-content-appt-survey-wrap {        margin-top: 20px;    }        .ares-main-content .setting-content-appt-survey-wrap label {            font-weight: normal;            padding-left: 0;        }        .ares-main-content .setting-content-appt-survey-wrap .content-row-cell {            margin-bottom: 10px;        }    ul .office-selector {        display: inline-block;        margin-left: 30px;    }    ul .office-checkbox {        display: inline-block;    }</style><div class="ares-main-content" ares-clean-kendo>    <fieldset>        <legend>公司级开关</legend>        <div class="setting-content-wrap">            <ul style="list-style-type: none;">                <li>                    <input type="checkbox" ng-disabled="!isEdit" ng-model="tenantOption.isUserSecurityEnabled">是否开启用户安全机制                </li>                <li>                    <input type="checkbox" ng-disabled="!isEdit" ng-model="tenantOption.isDeductionChargeEnabled">是否启用划扣功能                </li>                <li>                    <input type="checkbox" ng-disabled="!isEdit" ng-model="tenantOption.isDeviceMgmtEnabled">是否开启设备管理功能                </li>                <li>                    <input type="checkbox" ng-disabled="isPaymentTypeUpgradeDisabled()"                           ng-model="tenantOption.isPaymentTypeUpgradeEnabled">是否启用支付方式升级                    (<a class="title-description"                        title="新报表目前处于试用阶段，登录门店更新您的支付方式配置后，体验新的财务中心报表。&#10;常见问题：升级后会有哪些变化？&#10;1. 在新财务中心报表中，收费单金额和业绩金额会依赖新的支付方式配置，让现金流报表和营业收入统计更准确;&#10;2. 当前财务月期间产生的报表数据将实时发生变化（财务月可在：系统配置-诊所配置-收费 里设置）;&#10;3. 新的支付方式配置将只影响到新的报表体系，不会影响原有报表； &#10;4. 在新版本中预设了e看牙已经对接好的支付渠道，如微信支付、支付宝、美团点评等，无须再自行设置;&#10;5. 升级过程被中断后，重新登录可以继续上一次未完成的配置;&#10;6. 只支持对新的支付方式配置进行编辑（新增/删除/修改），原有的支付方式配置将不可再编辑;&#10;7. 为保障升级体验期间的平滑过渡，升级后一段时间内允许切换回旧的支付方式配置和旧报表。但一定时间后将被强制升级到新的支付方式配置和新报表体系;&#10;8. 升级过程建议在会计人员的指导下进行。"                        tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">支付方式升级说明</a>)                </li>                <li>                    <input type="checkbox"                            ng-disabled="!isEdit"                            ng-model="isMembershipBalanceShareEnabled"                           ng-change="onMembershipBalanceShareChange()">是否开启积分余额共享                </li>                <li>                    <input type="checkbox"                           ng-disabled="!isEdit"                           ng-model="baiduTextToAudioConfig.isTenantConfigEnabled">是否自定义租户语音叫号配置                    <input type="text"                           ng-show="baiduTextToAudioConfig.isTenantConfigEnabled"                           ng-disabled="!isEdit"                           ng-model="baiduTextToAudioConfig.clientId"                           placeholder="Client Id">                    <input type="text"                           ng-show="baiduTextToAudioConfig.isTenantConfigEnabled"                           ng-disabled="!isEdit"                           ng-model="baiduTextToAudioConfig.clientSecret"                           placeholder="Client Secret">                </li>            </ul>        </div>    </fieldset>    <fieldset>        <legend>诊所级开关</legend>        <div class="setting-content-wrap">            <table>                <tr style="height: 45px; ">                    <td>                        <div class="office-checkbox">                            启用正畸功能                        </div>                    </td>                    <td>                        <div class="office-selector" ng-disabled="!isEdit">                            <office-selector class="pull-left"                                             office-tree-data="officeTreeData"                                             select-mode="officeOnly"                                             selected-office-ids="enableOrthdonticModuleOfficeIds"                                             on-selected="onOrthdonticOfficeSelected(selectedOffices)"                                             allow-none-selection="true"                                             disabled="!isEdit"></office-selector>                        </div>                    </td>                </tr>                <tr style="height: 45px; ">                    <td>                        <div class="office-checkbox">                            是否开启划扣收费                        </div>                    </td>                    <td>                        <div class="office-selector" ng-disabled="!isEdit">                            <office-selector class="pull-left"                                             office-tree-data="officeTreeData"                                             select-mode="all"                                             selected-office-ids="enableDeductionChargeOfficeIds"                                             on-selected="onDeductionChargeOfficeSelected(selectedOffices)"                                             allow-none-selection="true"                                             disabled="!isEdit"></office-selector>                        </div>                    </td>                </tr>                <tr style="height: 45px; ">                    <td>                        <div class="office-checkbox">                            是否允许使用他人会员卡                        </div>                    </td>                    <td>                        <div class="office-selector" ng-disabled="!isEdit">                            <office-selector class="pull-left"                                             office-tree-data="officeTreeData"                                             select-mode="officeOnly"                                             selected-office-ids="otherMembershipOfficeIds"                                             on-selected="onMembershipOfficeSelected(selectedOffices)"                                             allow-none-selection="true"                                             disabled="!isEdit"></office-selector>                        </div>                    </td>                </tr>                <tr style="height: 45px; ">                    <td>                        <div class="office-checkbox">                            是否开启使用卡券时项目自动拆分                        </div>                    </td>                    <td>                        <div class="office-selector" ng-disabled="!isEdit">                            <office-selector class="pull-left"                                             office-tree-data="officeTreeData"                                             select-mode="officeOnly"                                             selected-office-ids="autoSplitOfficeIds"                                             allow-none-selection="true"                                             on-selected="onChargeDetailOfficeSelected(selectedOffices)" disabled="!isEdit"></office-selector>                        </div>                    </td>                </tr>                <tr style="height: 45px; ">                    <td>                        <div class="office-checkbox">                            是否启动外部叫号                        </div>                    </td>                    <td>                        <div class="office-selector" ng-disabled="!isEdit">                            <office-selector class="pull-left"                                             office-tree-data="officeTreeData"                                             select-mode="officeOnly"                                             allow-none-selection="true"                                             selected-office-ids="thirdPartySpeechCallOfficeIds"                                             on-selected="onSpeechCallOfficeSelected(selectedOffices)" disabled="!isEdit"></office-selector>                        </div>                    </td>                </tr>                <tr style="height: 45px; ">                    <td>                        <div class="office-checkbox">                            是否启用打印疾病证明书                        </div>                    </td>                    <td>                        <div class="office-selector" ng-disabled="!isEdit">                            <office-selector class="pull-left"                                             office-tree-data="officeTreeData"                                             select-mode="officeOnly"                                             allow-none-selection="true"                                             selected-office-ids="diseaseCertificateOfficeIds"                                             on-selected="onDiseaseCertificateOfficeSelected(selectedOffices)" disabled="!isEdit"></office-selector>                        </div>                    </td>                </tr>                <tr style="height: 45px; " ng-if="enableHealthShenzhenOfficeIds && enableHealthShenzhenOfficeIds.length > 0">                    <td>                        <div class="office-checkbox">                            是否登录必须通过人脸识别                        </div>                    </td>                    <td>                        <div class="office-selector" ng-disabled="!isEdit">                            <office-selector class="pull-left"                                             office-tree-data="healthShenzhenOfficeTreeData"                                             select-mode="officeOnly"                                             allow-none-selection="true"                                             selected-office-ids="requireProviderFaceRecognitionOfficeIds"                                             on-selected="onRequiredProviderFaceRecognitionOfficeSelected(selectedOffices)" disabled="!isEdit"></office-selector>                        </div>                    </td>                </tr>            </table>        </div>        <div class="form-group" style="padding-left: 20px; margin-top: 30px; margin-left: 50px;">            <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>            <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="saveTenantOptionAndOfficeOptions()">保存</button>            <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="cancel()">取消</button>        </div>    </fieldset>    <fieldset ng-show="isLdapEnabled">        <legend>LDAP配置</legend>        <div class="setting-content-wrap">            <table>                <tr style="height: 45px; ">                    <td>                        <div class="office-checkbox">                            选择诊所                        </div>                    </td>                    <td>                        <div class="office-selector">                            <office-selector class="pull-left"                            office-tree-data="officeTreeData"                            select-mode="all"                            selected-office-ids="enableLDAPOfficeIds"                            on-selected="onLDAPOfficeSelected(selectedOffices)"                            allow-none-selection="true"></office-selector>                        </div>                    </td>                </tr>            </table>        </div>        <div class="form-group" style="padding-left: 20px; margin-top: 30px; margin-left: 50px;">            <button type="button" class="btn btn-primary" ng-click="editLDAP(true)">开启</button>            <button type="button" class="btn btn-primary" ng-click="editLDAP(false)">关闭</button>        </div>    </fieldset></div>');templateCache.put('/app/tenant/views/user-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        #mainForm input, select {            max-width: 200px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{isEdit ? \'修改用户信息\' : \'创建新用户\'}}</h4>    </div>    <div class="modal-body ares-dialog-body">        <form id="mainForm" name="mainForm" class="form-horizontal" style="width:600px">            <div class="form-group">                <label for="office" class="control-label col-sm-2">诊所</label>                <div class="col-sm-8 input-container">                    <input id="office" name="office" ng-show="!isEdit" type="text" class="form-control" style="display:none;width:200px">                    <label class="control-content" ng-show="isEdit">{{user.officeName}}</label>                </div>            </div>            <div class="form-group">                <label for="provider" class="control-label col-sm-2">员工</label>                <div class="col-sm-8 input-container">                    <input id="provider" name="provider" ng-show="!isEdit" type="text" class="form-control not-ignore" style="display: none; width: 200px">                    <label class="control-content" ng-show="isEdit">{{user.provider.name}} 【{{user.provider.job}}】</label>                </div>            </div>            <div class="form-group">                <label for="account" class="control-label col-sm-2">登录账号</label>                <div class="col-sm-8 input-container">                    <input class="form-control" id="account" name="account" ng-show="!isEdit" ng-model="user.account" />                    <label class="control-content" ng-show="isEdit">{{user.account}}</label>                </div>            </div>            <div class="form-group" ng-show="!isEdit">                <label for="password" class="control-label col-sm-2">登录密码</label>                <div class="col-sm-8 input-container">                    <input class="form-control" type="password" id="password" name="password" ng-model="user.password" />                </div>            </div>            <div class="form-group" ng-show="!isEdit">                <label for="confirmPassword" class="control-label col-sm-2">确认密码</label>                <div class="col-sm-8 input-container">                    <input class="form-control" type="password" id="confirmPassword" name="confirmPassword" ng-model="user.confirmPassword" />                </div>            </div>            <div class="form-group">                <label for="roles" class="control-label col-sm-2">所属角色</label>                <div class="col-sm-8 input-container">                    <select id="roles" name="roles" class="not-ignore" style="width:260px"></select>                </div>            </div>            <div class="form-group">                <label for="loginOffices" class="control-label col-sm-2">可登录诊所</label>                <div class="col-sm-8 input-container">                    <select id="loginOffices" name="loginOffices" class="not-ignore" style="width:260px"></select>                </div>            </div>            <div class="form-group">                <label class="control-label col-sm-2">状态</label>                <div class="col-sm-8" style="margin-top: 5px">                    <label class="checkbox inline" style="display:inline;margin-left:20px">                        <input type="radio" name="status" id="active" ng-model="user.isInactive" ng-value="false"> 在用                    </label>                    <label class="checkbox inline" style="display: inline; margin-left: 20px">                        <input type="radio" name="status" id="inactive" ng-model="user.isInactive" ng-value="true"> 禁用                    </label>                </div>            </div>            <div style="font-size:small; margin-left:30px" class="form-group" ng-show="!isEdit">                <label style="max-width:340px;">提示:密码至少六位且必须由数字,字母组成</label>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="save2()">确定</button>    </div></div>');templateCache.put('/app/tenant/views/user-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <!--<h1 class="ares-page-header">用户管理</h1>-->    <div style="margin-top:10px;">        <div class="form-group" style="padding-left:10px; margin-top:10px">            <button type="button" class="btn btn-default" ng-click="add()">                <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 新增            </button>            <button type="button" class="btn btn-default" ng-click="edit()" ng-disabled="selectedItem == null">                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> 修改            </button>            <button type="button" class="btn btn-default" ng-click="destroy()" ng-disabled="selectedItem == null">                <span class="glyphicon glyphicon-minus-sign" aria-hidden="true"></span> 删除            </button>            <button type="button" class="btn btn-default" ng-click="changePwd()" ng-disabled="selectedItem == null">                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> 修改密码            </button>        </div>        <div id="userList"></div>    </div></div>');templateCache.put('/app/tenant/views/weixin-upload-view.html','<input id="weixinKeyUploadPanel" weixin-upload-view style="display:none" type="file"       add="addUpload(e,data)"       send="beforeUpload(e,data)"       start="uploadStart(e,data)"       stop="uploadStop(e,data)"       uploadprogress="uploadProgressed(e,data)"       done="uploadFinished(e,data)"       fail="uploadFailed(e,data)" /><div>    <div>        <label class="control-label">微信key：</label>        <a id="weixinKey" style="font-weight: bolder; cursor: pointer" ng-show="isEdit">设置</a>        <a ng-click="onClickBrowser(\'weixinKey\')" style="font-weight: bolder; cursor: pointer">{{weixinKey}}</a>    </div>    <label style="width:580px;margin-left:10px;" ng-show="weixinKey==\'隐藏\'">{{onlinePayAccount.weixinKey}}</label></div>');templateCache.put('/app/tenant/views/workflow-management-view.html','<style>    body.ares3 .workflow-management-view {        height: 100%;        overflow-y: auto;        overflow-x: hidden;    }    .setting-title-wrap {        overflow: hidden;    }        .setting-title-wrap .title-text {            width: 170px;            padding-top: 8px;            padding-bottom: 8px;            text-align: right;            white-space: nowrap;        }        .setting-title-wrap .title-description {            top: 10px;            right: 30px;        }    .setting-content-wrap {        margin-left: -10px;    }        .setting-content-wrap .content-row-cell {            display: inline-block;            vertical-align: middle;            margin: 0 10px 0 0;            padding-top: 0;            padding-bottom: 0;        }    .ares-main-content .setting-content-appt-survey-wrap {        margin-top: 20px;    }        .ares-main-content .setting-content-appt-survey-wrap label {            font-weight: normal;            padding-left: 0;        }        .ares-main-content .setting-content-appt-survey-wrap .content-row-cell {            margin-bottom: 10px;        }</style><div class="ares-main-content workflow-management-view" ares-clean-kendo>    <fieldset>        <legend>预约</legend>        <form class="form-horizontal">            <div class="control-group">                <table class="tab-rm">                    <tr style="height:40px;">                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">预约提醒服务&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用预约短信提醒服务之后，系统会根据设置，自动提前（默认提前一天）发送预约提醒短信到患者预留的手机号码。（短信功能会根据用量收费）。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="reminderService" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isReminderServiceEnabled">启用                                </label>                                <label class="radio-inline content-row-cell ">                                    <input type="radio" name="reminderService" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isReminderServiceEnabled">禁用                                </label>                                <div class="content-row-cell" ng-show="officeSetting.isReminderServiceEnabled">                                    <label style="display:inline;">提前</label>                                    <input id="reminderDayOffset" ng-disabled="!isEdit" style="width: 60px;" kendo-numeric-text-box                                           k-min="1" k-max="30" k-step="1" k-options="{format: \'#\', decimals:0}"                                           k-ng-model="officeSetting.reminderDayOffset" />                                    <label style="display:inline">天</label>                                </div>                                <div class="content-row-cell" ng-show="officeSetting.isReminderServiceEnabled">                                    <label>开始时间:</label>                                    <input id="reminderStartTime" ng-disabled="!isEdit" style="width: 80px;" kendo-time-picker                                           k-min="\'10:00\'" k-max="\'20:00\'" k-format="\'HH:mm\'" k-change="reminderStartTimeChange"                                           k-interval="30" ng-model="officeSetting.reminderStartTime" />                                </div>                                <div style="display:inline-block;" ng-show="officeSetting.isReminderServiceEnabled&&isWxClinic">                                    <label class="radio-inline content-row-cell" title="注意：此功能需要开通SCRM才起作用">                                        <input type="checkbox" name="isOnlyWeixinReminder" ng-disabled="!isEdit" ng-model="officeSetting.isOnlyWeixinReminder">对微信患者不发送短信                                    </label>                                </div>                            </div>                        </td>                    </tr>                    <tr>                        <td class="setting-title-wrap">                            <label class="col-sm-10 control-label title-text">                                预约短信模版：                            </label>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="control-label content-row-cell">默认模版：&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <div class="content-row-cell">                                    <input id="shortMessageTemplate" disabled="disabled" type="text" class="form-control" style="width:130px;display:inline;">                                    <span class="glyphicon glyphicon-question-sign"                                          tooltip="{{defaultTemplate.shortMessageTemplate.content}}"                                          tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                                </div>                                <a class="content-row-cell" id="addTemplate" href="" ng-click="onAddRow()" ng-show="isEdit&&officeSetting.isReminderServiceEnabled" disabled="disabled">添加特殊模版</a>                            </div>                        </td>                    </tr>                    <tr style="height:40px;">                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">术前提醒&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用后会根据配置在预约前n天通过微信推送术前提醒。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="preoperativeRemindConfig" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.preoperativeRemindConfig.isEnabled">启用                                </label>                                <label class="radio-inline content-row-cell ">                                    <input type="radio" name="preoperativeRemindConfig" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.preoperativeRemindConfig.isEnabled">禁用                                </label>                                <div class="content-row-cell" ng-show="officeSetting.preoperativeRemindConfig.isEnabled">                                    <label style="display:inline;">提前</label>                                    <input id="preoperativeRemindConfig_dayOffset" ng-disabled="!isEdit" style="width: 60px;" kendo-numeric-text-box                                           k-min="1" k-max="30" k-step="1" k-options="{format: \'#\', decimals:0}"                                           k-ng-model="officeSetting.preoperativeRemindConfig.dayOffset" />                                    <label style="display:inline">天</label>                                </div>                                <div class="content-row-cell" ng-show="officeSetting.preoperativeRemindConfig.isEnabled">                                    <label>开始时间:</label>                                    <input id="preoperativeRemindConfig_startTime" ng-disabled="!isEdit" style="width: 80px;" kendo-time-picker                                           k-min="\'10:00\'" k-max="\'20:00\'" k-format="\'HH:mm\'" k-change="preoperativeRemindStartTimeChange"                                           k-interval="30" ng-model="officeSetting.preoperativeRemindConfig.startTime" />                                </div>                            </div>                        </td>                    </tr>                    <tr style="line-height:35px;" ng-repeat=" item in shortMessageTemplates" ng-show="officeSetting.isReminderServiceEnabled">                        <td colspan="2">                            <input id="patientType{{$index}}" ng-disabled="!isEdit" type="text" class="form-control" style="margin-left:170px; width:100px;">                            <input id="shortMessageTemplate{{$index}}" ng-disabled="!isEdit" type="text" class="form-control" style="width:130px;">                            <span class="glyphicon glyphicon-question-sign"                                  tooltip="{{item.shortMessageTemplate.content}}"                                  tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            <a href="" ng-click="onDelRow($index)" ng-show="isEdit">删除</a>                        </td>                    </tr>                    <tr style="height:40px;">                        <td valign="top">                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text" style="padding-right: 30px">满意度回访服务</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用满意度回访服务之后，系统会根据设置，发送满意度回访服务短信到患者预留的手机号码。（短信功能会根据用量收费）。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td valign="top">                            <div class="setting-content-wrap" style="padding-top: 8px;">                                <label class="ares-radio-inline content-row-cell">                                    <input type="radio" name="apptSurveyService" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isApptSurveyEnabled"><span class="radioInput"></span>启用                                </label>                                <label class="ares-radio-inline content-row-cell ">                                    <input type="radio" name="apptSurveyService" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isApptSurveyEnabled"><span class="radioInput"></span>禁用                                </label>                            </div>                            <div class="setting-content-appt-survey-wrap" ng-show="officeSetting.isApptSurveyEnabled">                                <div class="content-row-cell">                                    <label>触发条件</label>                                    <select id="chargeTypeInput" class="form-control" ng-disabled="!isEdit" style="width: 130px; padding: 3px 6px; display: initial;" ng-model="officeSetting.apptSurveyDefaultTrigger">                                        <option value="0">已离开</option>                                        <option value="1">治疗完成</option>                                        <option value="2">已结账</option>                                    </select>                                </div>                                <div class="content-row-cell">                                    <label class="radio-inline content-row-cell">                                        <input type="checkbox" class="ares-checkbox" name="isSendMessageApptSurvey" ng-change="sendWeixinApptSurveyChange()" ng-disabled="!isEdit" ng-model="officeSetting.isSendMessageApptSurvey" style="margin-right: 3px;">                                        <span style="vertical-align: text-bottom;margin-right: 5px;">短信发送</span>                                    </label>                                    <div style="display:inline-block;">                                        <div class="content-row-cell">                                            <input id="apptSurveyTemplate" type="text" class="form-control" style="width:160px;display:inline;" disabled="disabled" ng-model="officeSetting.apptSurveyTemplateId">                                        </div>                                    </div>                                </div>                                <div style="margin-left: 20px;">                                    <label style="vertical-align: top;">                                        满意度调查地址：                                    </label>                                    <textarea name="apptSurveyUrl" rows="2" class="form-control"                                              ng-model="officeSetting.apptSurveyUrl"                                              ng-disabled="!isEdit"                                              cols="80" style="width:300px;display: inline-block"></textarea>                                </div>                                <div class="content-row-cell" ng-show="isWxClinic">                                    <label class="radio-inline" title="注意：此功能需要开通SCRM才起作用">                                        <input type="checkbox" class="ares-checkbox" name="isSendMessageApptSurvey" ng-change="sendWeixinApptSurveyChange()" ng-disabled="!isEdit" ng-model="officeSetting.isSendWeixinApptSurvey" style="margin-right: 3px;">                                        <span style="vertical-align: text-bottom;margin-right: 5px;">微信发送</span>                                    </label>                                    <div style="margin-bottom: 5px;margin-left: 20px;color:#959AA5;">                                        <label class="radio-inline" title="注意：此功能需要开通SCRM才起作用">                                            <input type="checkbox" class="ares-checkbox" name="isOnlyWeixinApptSurvey" ng-disabled="!isEdit||(!officeSetting.isSendWeixinApptSurvey||!officeSetting.isSendMessageApptSurvey)" ng-model="officeSetting.isOnlyWeixinApptSurvey" style="margin-right: 3px;">                                            <span style="vertical-align: text-bottom;margin-right: 5px;">对微信患者不发送短信</span>                                        </label>                                    </div>                                    <div style="margin-left: 20px;color: #646A77;">                                        <span>满意度调查地址请到SCRM-微服务-服务评价-评价设置</span>                                    </div>                                </div>                            </div>                        </td>                    </tr>                    <tr>                        <td valign="top">                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text" style="padding-right:0;padding-top:0px;">是否启用语音提醒：&nbsp;&nbsp;&nbsp;&nbsp;</label>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <ul style="list-style-type: none;">                                    <li>                                        <input type="checkbox" name="isCheckInNotifyDoctor" ng-disabled="!isEdit" ng-model="officeSetting.isEnableCheckInNotifyDoctor">挂号通知医生                                    </li>                                    <li>                                        <!--   <li>                                               <div class="setting-content-wrap" style="margin-left: 0px;">                                                   <input type="checkbox" name="isOpenSpeechCall" ng-disabled="!isEdit" ng-model="officeSetting.isOpenSpeechCall">接诊语音叫号                                                   <div class="content-row-cell" ng-show="officeSetting.isOpenSpeechCall" style="margin-left: 20px;">                                                       <label style="display:inline;">重复</label>                                                       <input id="speechCallTimes" ng-disabled="!isEdit" style="width: 60px;" kendo-numeric-text-box                                                              k-min="1" k-max="3" k-step="1" k-options="{format: \'#\', decimals:0}"                                                              k-ng-model="officeSetting.speechCallTimes" />                                                       <label style="display:inline">次</label>                                                   </div>                                               </div>                                           </li>-->                                        <!--                                    <li>                                                                                <div class="setting-content-wrap" style="margin-left: 0px;" ng-show="isTenantSpeechCallScreenEnabled">                                                                                    <input type="checkbox" name="IsSpeechCallScreenEnabled" ng-disabled="!isEdit" ng-model="officeSetting.isSpeechCallScreenEnabled">启用排队叫号分屏                                                                                    <div class="content-row-cell" ng-show="officeSetting.isSpeechCallScreenEnabled" style="margin-left: 20px;">                                                                                        <label style="display:inline;">每屏列数</label>                                                                                        <input id="screenColumnsNumber" ng-disabled="!isEdit" style="width: 60px;" kendo-numeric-text-box                                                                                               k-min="1" k-max="2" k-step="1" k-options="{format: \'#\', decimals:0}"                                                                                               k-ng-model="speechCallScreen.columnCnt" />                                                                                        <label style="display:inline">列</label>                                                                                    </div>                                                                                    <div class="content-row-cell" ng-show="officeSetting.isSpeechCallScreenEnabled" style="margin-left: 20px;">                                                                                        <label style="display:inline;">翻页时间间隔</label>                                                                                        <input id="pageTurningTime" ng-disabled="!isEdit" style="width: 60px;" kendo-numeric-text-box                                                                                               k-min="1" k-max="10000" k-step="1" k-options="{format: \'#\', decimals:0}"                                                                                               k-ng-model="speechCallScreen.screenRefreshInterval" />                                                                                        <label style="display:inline">秒</label>                                                                                    </div>                                                                                    <div class="content-row-cell" ng-show="officeSetting.isSpeechCallScreenEnabled" style="margin-left: 20px;">                                                                                        <label style="display:inline;">启用患者保护</label>                                                                                        <input type="checkbox" name="isPatientProtected" ng-disabled="!isEdit" ng-model="speechCallScreen.isPatientProtected">                                                                                    </div>                                                                                </div>                                                                            </li>-->                                    <li>                                        <input type="checkbox" name="isCompleteNotifyFront" ng-disabled="!isEdit" ng-model="officeSetting.isEnableCompleteNotifyFront">治疗完成通知前台                                    </li>                                    <li>                                        <input type="checkbox" name="isChargeNotifyFront" ng-disabled="!isEdit" ng-model="officeSetting.isEnableChargeNotifyFront">划价通知前台                                    </li>                                    <li>                                        <input type="checkbox" name="isChargeCompleteNotifyDoctor" ng-disabled="!isEdit" ng-model="officeSetting.isEnableChargeCompleteNotifyDoctor">收费完成通知医生                                    </li>                                </ul>                            </div>                        </td>                    </tr>                    <!--   <tr>                           <td>                               <div class="setting-title-wrap">                                   <label class="col-sm-10 control-label title-text">叫号&nbsp;&nbsp;&nbsp;&nbsp;</label>                               </div>                           </td>                           <td>                               <div class="setting-content-wrap">                                   <label class="radio-inline content-row-cell">                                       <input type="radio" name="speechCallMode" value="0" ng-disabled="!isEdit" ng-model="officeSetting.speechCallMode">叫号到诊室                                   </label>                                   <label class="radio-inline content-row-cell">                                       <input type="radio" name="speechCallMode" value="1" ng-disabled="!isEdit" ng-model="officeSetting.speechCallMode">叫号到科室                                   </label>                               </div>                           </td>                       </tr>-->                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">自动失约服务&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用自动失约之后，系统会在每天将前一天没有挂号，并且没有任何就诊数据产生（病历，收费，处方，随访等）的预约，自动标记为失约。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="auotFialService" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isAutoFailedServiceEnabled">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="auotFialService" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isAutoFailedServiceEnabled">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">预约项目配色方案&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用之后，在预约日视图，预约色块根据预约状态和预约项目显示两种颜色；其他预约视图，预约色块按预约项目显示一种颜色。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="apptTitleColor" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isApptTileColorEnabled">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="apptTitleColor" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isApptTileColorEnabled">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">预约视图显示病历号：&nbsp;&nbsp;&nbsp;&nbsp;</label>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isEnableOpenAppointmentCaseNo" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isEnableOpenAppointmentCaseNo">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isEnableOpenAppointmentCaseNo" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isEnableOpenAppointmentCaseNo">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">预约视图显示备注：</label>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isEnableOpenAppointmentRemark" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isEnableOpenAppointmentRemark">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isEnableOpenAppointmentRemark" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isEnableOpenAppointmentRemark">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">医生查看诊所视图&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用之后，医生预约视图可以切换到诊所日视图，能够查看所有医生的预约视图。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="doctorViewWholeScheduler" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.canDoctorViewWholeScheduler">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="doctorViewWholeScheduler" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.canDoctorViewWholeScheduler">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">医生今日工作-检查：</label>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isMedicalExamOpen" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isMedicalExamOpen">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isMedicalExamOpen" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isMedicalExamOpen">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">启用新版检查：</label>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isNewMedicalExamEnabled" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isNewMedicalExamEnabled">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isNewMedicalExamEnabled" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isNewMedicalExamEnabled">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">就诊流程模式&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="在强流程模式下，患者就诊状态必须按照挂号、治疗中、治疗完成、已结账、已离开的顺序进行；在弱流程模式下，患者就诊状态可以不按顺序进行。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="strictApptWorkflow" ng-change="resetIsAppointmentConsultAppendable();" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isStrictApptWorkflowEnabled">强流程                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="strictApptWorkflow" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isStrictApptWorkflowEnabled">弱流程                                </label>                                <label class="radio-inline content-row-cell" ng-show="officeSetting.isStrictApptWorkflowEnabled">                                    <input type="checkbox" ng-disabled="!isEdit" ng-change="resetIsAppointmentConsultAppendable();" ng-model="officeSetting.isStrongStrictApptWorkflowEnabled">严谨模式                                </label>                            </div>                        </td>                    </tr>                    <tr ng-if="officeSetting.isStrictApptWorkflowEnabled&&officeSetting.isStrongStrictApptWorkflowEnabled">                        <td colspan="2" style="padding-left:200px;">                            <div class="setting-content-wrap" >                                    <input id="input_IsAllowAppendAppointmentConsult" type="checkbox" ng-disabled="!isEdit" ng-model="officeSetting.isAppointmentConsultAppendable">                                    <label for="input_IsAllowAppendAppointmentConsult" style="font-weight:normal;">允许补录咨询记录</label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">启用咨询师分诊&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用了咨询师以后，在前台今日工作，在挂号之前，前台可以将预约分配给咨询师。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isEnableConsultantDiagnose" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isEnableConsultantDiagnose">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isEnableConsultantDiagnose" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isEnableConsultantDiagnose">禁用                                </label>                                <label class="radio-inline content-row-cell" ng-show="officeSetting.isEnableConsultantDiagnose">                                    <input type="checkbox" ng-disabled="!isEdit" ng-model="officeSetting.isAllowApptToConsultant">预约到咨询师                                </label>                                <label class="radio-inline content-row-cell" ng-show="officeSetting.isEnableConsultantDiagnose">                                    <input type="checkbox" ng-disabled="!isEdit" ng-model="officeSetting.isCheckInWithConsultOpen">挂号时指定咨询项目                                </label>                                <label class="radio-inline content-row-cell" ng-show="officeSetting.isEnableConsultantDiagnose">                                    <input type="checkbox" ng-disabled="!isEdit" ng-model="officeSetting.isNewPatientWithConsultOpen">自动带入推荐人咨询师信息                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text" style="width:185px;">                                    预约就诊类型允许修改&nbsp;&nbsp;&nbsp;&nbsp;                                </label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用：预约的就诊类型系统默认后允许用户修改；禁用：预约的就诊类型系统根据规则判断，不允许用户修改"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isEnableEditCheckedInType" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isCheckInTypeEditable">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isEnableEditCheckedInType" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isCheckInTypeEditable">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">有效预约条件&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="系统判断初复诊条件，第一次有效预约的那个预约，标识为初诊；之后为复诊"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline" style="width:150px;">                                    <input type="radio" name="editCheckedInTypeCondition" ng-value="0" ng-disabled="!isEdit" ng-model="editCheckedInTypeCondition">根据预约状态判断                                </label>                                <label class="radio-inline content-row-cell" style="padding-top: 7px;" ng-show="editCheckedInTypeCondition == 0">                                    <input type="checkbox" ng-disabled="!isEdit" ng-model="officeSetting.firstVisitRule.hasCheckedIn">挂号                                </label>                                <label class="radio-inline content-row-cell" style="padding-top: 7px;" ng-show="editCheckedInTypeCondition == 0">                                    <input type="checkbox" ng-disabled="!isEdit" ng-model="officeSetting.firstVisitRule.hasCompleted">治疗完成                                </label>                                <br />                                <label class="radio-inline" style="margin-left:0px;width:150px;">                                    <input type="radio" name="editCheckedInTypeCondition" ng-value="1" ng-disabled="!isEdit" ng-model="editCheckedInTypeCondition">根据是否收费判断                                </label>                                <label class="radio-inline content-row-cell" style="padding-top: 7px;" ng-show="editCheckedInTypeCondition == 1">                                    <input type="checkbox" ng-disabled="!isEdit" ng-model="officeSetting.firstVisitRule.hasCharged">收费                                </label>                                <label class="radio-inline content-row-cell" style="padding-top: 7px;" ng-show="editCheckedInTypeCondition == 1">                                    <input type="checkbox" ng-disabled="!isEdit" ng-model="officeSetting.firstVisitRule.hasDealt">成交                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">挂号时设置到店来源&nbsp;&nbsp;&nbsp;&nbsp;</label>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="appointmentSourceEnabled" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isAppointmentSourceEnabled">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="appointmentSourceEnabled" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isAppointmentSourceEnabled">禁用                                </label>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">                                    启用收挂号费流程：                                </label>                                <span class="glyphicon glyphicon-question-sign title-description"                                      tooltip="启用了收挂号费流程以后，在前台今日工作，在挂号时，可以选择立即进行挂号收费。"                                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap" style="display:inline-block">                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isCheckInChargeEnabled" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isCheckInChargeEnabled">启用                                </label>                                <label class="radio-inline content-row-cell">                                    <input type="radio" name="isCheckInChargeEnabled" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isCheckInChargeEnabled">禁用                                </label>                                <label class="radio-inline content-row-cell" ng-show="officeSetting.isCheckInChargeEnabled">                                    <input type="checkbox" ng-model="officeSetting.isCheckInChargeDefultOpen"                                           ng-disabled="!isEdit" />                                    <span>是否默认收取挂号费</span>                                </label>                            </div>                        </td>                    </tr>                    <tr ng-show="officeSetting.isCheckInChargeEnabled">                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">                                    挂号费项目：                                </label>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <label class="control-label content-row-cell">默认模版：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <div class="content-row-cell">                                    <charge-item-multi-select-input selected-charge-items="defaultCheckInChargeItemTemplate.chargeItems"                                                                    max-count="5"                                                                    msg-item-name-prefix="挂号"                                                                    allow-edit="isEdit"                                                                    style="width:450px;display:inline-block;vertical-align: middle;"></charge-item-multi-select-input>                                </div>                                <a class="content-row-cell" id="addCheckInTemplate" href=""                                   ng-click="onAddCheckInTemplate()" ng-show="isEdit&&officeSetting.isCheckInChargeEnabled"                                   disabled="disabled">添加特殊模版</a>                            </div>                        </td>                    </tr>                    <tr style="line-height:35px;" ng-repeat="item in specialCheckInChargeItemTemplates" ng-show="officeSetting.isCheckInChargeEnabled">                        <td></td>                        <td style="padding-top: 10px;">                            <div class="setting-content-wrap">                                <input id="checkInType{{$index}}" ng-model="item.checkInType" ng-disabled="!isEdit"                                       type="text" class="form-control" style="width:100px;">                                <charge-item-multi-select-input selected-charge-items="item.chargeItems"                                                                max-count="5"                                                                msg-item-name-prefix="挂号"                                                                allow-edit="isEdit"                                                                style="width:450px;display:inline-block;vertical-align: middle;"></charge-item-multi-select-input>                                <a href="" ng-click="onDelCheckInTemplate($index)" ng-show="isEdit" style="margin-left:10px">删除</a>                            </div>                        </td>                    </tr>                    <tr>                        <td>                            <div class="setting-title-wrap">                                <label class="col-sm-10 control-label title-text">短信签名&nbsp;&nbsp;&nbsp;&nbsp;</label>                            </div>                        </td>                        <td>                            <div class="setting-content-wrap">                                <input type="text" id="shortMessageSignature" name="shortMessageSignature" class="form-control" style="width:130px;" ng-model="officeSetting.shortMessageSignature" ng-disabled="!isEdit">                            </div>                        </td>                    </tr>                </table>            </div>        </form>    </fieldset>    <br />    <style>        .edit-row {            margin: 5px 0 5px 32px;        }            .edit-row .edit-checkbox {                padding: 5px;                cursor: pointer;                display: inline-block;                margin: 0;            }                .edit-row .edit-checkbox input[type=checkbox] {                    width: 16px;                    height: 16px;                    margin: 0;                    display: inline-block;                    vertical-align: middle;                }                .edit-row .edit-checkbox span {                    display: inline-block;                    vertical-align: middle;                    font-size: 14px;                    font-weight: 400;                }    </style>    <fieldset>        <legend>收费</legend>        <div class="edit-row" ng-show="isPaymentTypeUpgradeEnabled && chargeItemAboutEnabled && officeSetting.paymentTypeUpgradeStatus != 3">            <label class="edit-checkbox">                <input type="checkbox"                       ng-click="switchNewPaymentTypeEnabled()"                       ng-model="officeSetting.isNewPaymentTypeEnabled"                       ng-disabled="!isEdit" />                <span>是否启用新支付方式</span>            </label>        </div>        <table style="margin-left:38px;">            <tr>                <td>                    <label class="control-label" style="margin-top:5px">收费模式</label>                </td>                <td>                    <input type="checkbox" ng-model="systemConfigs.applyDetailChargeValue"                           ng-disabled="!isEdit||systemConfigs.DefaultCharge==\'DetailCharge\'"                           style="margin-left:20px" />明细收费                </td>            </tr>            <tr>                <td></td>                <td>                    <input type="checkbox" ng-model="systemConfigs.applySimpleChargeValue"                           ng-disabled="!isEdit||systemConfigs.DefaultCharge==\'SimpleCharge\'"                           style="margin-left: 20px; margin-top: 10px;" />简易收费                </td>            </tr>            <tr>                <td></td>                <td>                    <input type="checkbox" ng-model="systemConfigs.applyDisposalChargeValue"                           ng-disabled="!isEdit||systemConfigs.DefaultCharge==\'DisposalCharge\'"                           style="margin-left: 20px; margin-top: 10px;" />处置收费                </td>            </tr>            <tr>                <td></td>                <td>                    <input type="checkbox" ng-model="systemConfigs.applyRCChargeValue"                           ng-disabled="!isEdit||systemConfigs.DefaultCharge==\'RCCharge\'"                           style="margin-left: 20px; margin-top: 10px;" />跨科收费                </td>            </tr>        </table>        <div style="margin-top:10px;padding-left:38px;">            <label class="control-label" style="margin-top:5px" for="chargeTypeInput">默认收费模式：</label>            <select id="chargeTypeInput" class="form-control" ng-disabled="!isEdit" style="width: 130px; padding: 3px 6px; display: initial;" ng-model="systemConfigs.DefaultCharge">                <option value="DetailCharge" ng-show="systemConfigs.applyDetailChargeValue">明细收费</option>                <option value="SimpleCharge" ng-show="systemConfigs.applySimpleChargeValue">简易收费</option>                <option value="DisposalCharge" ng-show="systemConfigs.applyDisposalChargeValue">处置收费</option>                <option value="RCCharge" ng-show="systemConfigs.applyRCChargeValue">跨科收费</option>            </select>        </div>        <table style="margin-left:38px;">            <tr>                <td>                    <label class="control-label" style="margin-top:5px">退费模式</label>                </td>                <td>                    <input type="checkbox" ng-model="systemConfigs.isOrderRefundEnable"                           ng-disabled="true"                           style="margin-left:20px" />退整单                </td>            </tr>            <tr>                <td></td>                <td>                    <input type="checkbox" ng-model="systemConfigs.isItemRefundEnable"                           ng-disabled="!isEdit"                           style="margin-left: 20px; margin-top: 10px;" />退项目                </td>            </tr>            <tr>                <td></td>                <td>                    <input type="checkbox" ng-model="systemConfigs.isPriceRefundEnable"                           ng-disabled="!isEdit"                           style="margin-left: 20px; margin-top: 10px;" />退金额                </td>            </tr>        </table>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowSingleDiscountValue"                       ng-disabled="!isEdit" />                <span>允许单项打折</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isChargeItemPriceUpdatable"                       ng-change="onChangeAllowUpdatePrice()"                       ng-disabled="!isEdit" />                <span>收费时允许修改项目单价</span>            </label>            <label class="edit-checkbox" ng-show="officeSetting.isChargeItemPriceUpdatable && officeSetting.isYibaoGatewayEnabled">                <input type="checkbox" ng-model="officeSetting.isYibaoItemPriceUpdatable"                       ng-disabled="!isEdit" />                <span>收费时允许修改医保项目单价</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowCopyDisposal"                       ng-disabled="!isEdit" />                <span>是否复制处置收费的处置至病历</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowBorwserChargeItem"                       ng-disabled="!isEdit" />                <span>是否开启前台快捷收费显示收费项目</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowStatement"                       ng-disabled="!isEdit" />                <span>是否开启“今日对账”和“对账单查询”</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowMinDiscount"                       ng-disabled="!isEdit" />                <span>是否开启收费折扣下限(注意：开启后将锁定会员折扣)</span>            </label>        </div>        <div style="margin-top:10px;padding-left:17px;" ng-show="systemConfigs.allowMinDiscount">            <table style="margin-left:20px">                <tr style="line-height:35px;" ng-repeat="item in discountLimitSettings" ng-show="systemConfigs.allowMinDiscount">                    <td>                        <label ng-show="item.scope == 1 && systemConfigs.allowMinDiscount"                               for="discountLimitRoleType{{$index}}">默认折扣下限</label>                        <input id="discountLimitRoleType{{$index}}"                               ng-show="item.scope > 1 && systemConfigs.allowMinDiscount"                               ng-model="item.referenceId"                               ng-disabled="!isEdit"                               type="text" class="form-control" style="width:100px;">                    </td>                    <td>                        <label for="orderLowerLimit{{$index}}" class="control-label"                               style="margin-top:5px;margin-left:34px;">整单折扣下限：</label>                        <input id="orderLowerLimit{{$index}}" style="width:90px;"                               kendo-numeric-text-box k-min="0"                               k-step="1" k-min="0" k-max="100"                               ng-disabled="!systemConfigs.allowMinDiscount||!isEdit"                               k-on-change="onLowDiscountLimitChanged(kendoEvent)"                               k-ng-model="item.orderLowerLimit" />                        <label class="control-label">%</label>                    </td>                    <td>                        <label for="detailLowerLimit{{$index}}" class="control-label" style="margin-top:5px;margin-left:34px;">单项折扣下限：</label>                        <input id="detailLowerLimit{{$index}}" style="width:90px;"                               kendo-numeric-text-box k-min="0"                               k-step="1" k-min="0" k-max="100"                               ng-disabled="!systemConfigs.allowMinDiscount||!isEdit"                               k-on-change="onLowDiscountLimitChanged(kendoEvent)"                               k-ng-model="item.detailLowerLimit" />                        <label class="control-label">%</label>                    </td>                    <td>                        <label for="orderLowerLimit{{$index}}" class="control-label"                               style="margin-top:5px;margin-left:34px;">欠费折扣下限：</label>                        <input id="orderLowerLimit{{$index}}" style="width:90px;"                               kendo-numeric-text-box k-min="0"                               k-step="1" k-min="0" k-max="100"                               ng-disabled="!systemConfigs.allowMinDiscount||!isEdit"                               k-on-change="onLowDiscountLimitChanged(kendoEvent)"                               k-ng-model="item.overdueLowerLimit" />                        <label class="control-label">%</label>                    </td>                    <td>                        <a class="content-row-cell" id="addDiscountLimitSetting" href=""                           ng-click="onAddDiscountLimitSetting()" ng-show="$index == 0 && isEdit && systemConfigs.allowMinDiscount"                           disabled="disabled"                           style="margin-left:10px">添加特殊规则</a>                        <a href="" ng-click="onDelDiscountLimitSetting($index)"                           ng-show="$index > 0 && isEdit && systemConfigs.allowMinDiscount"                           style="margin-left:10px">删除</a>                    </td>                </tr>            </table>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isChargeOverdueDisabled"                       ng-disabled="!isEdit" />                <span>收费时,不允许欠费</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowAllotChargeDetail"                       ng-disabled="!isEdit" />                <span>是否开启收费项目实收分配</span>            </label>        </div>        <div class="edit-row" ng-if="isDeductionChargeEnabled">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowChargeDeductionManHours"                       ng-disabled="!isEdit" />                <span>划扣支持填写工时</span>            </label>        </div>        <div class="edit-row" ng-if="isDeductionChargeEnabled">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isOverdueDeductionEnabled"                       ng-disabled="!isEdit" />                <span>是否允许划扣欠费执行</span>            </label>            <label class="edit-checkbox" ng-show="officeSetting.isOverdueDeductionEnabled">                <input type="checkbox" ng-model="officeSetting.isOverdueDeductionWarningEnabled"                       ng-disabled="!isEdit" />                <span>是否进行提醒</span>            </label>        </div>        <div class="edit-row" ng-if="isDeductionChargeEnabled && systemConfigs.isDefaultDeductionPlan">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.isDefaultDeductionPlan"                       ng-disabled="!isEdit" />                <span>收费项目默认带有划扣</span>            </label>        </div>        <div class="edit-row" style="margin-top:10px;padding-left:38px;" ng-if="isDeductionChargeEnabled">            <label class="control-label" style="margin-top:5px">划扣撤回模式：</label>            <div style="margin-top:0px;margin-left:10px;display:inline-block;">                <label class="radio-inline">                    <input type="radio" name="WithRevertTime" ng-value="\'WithRevertTime\'" ng-disabled="!isEdit" ng-model="systemConfigs.deductionRevertMode">撤回记录在撤回当天                </label>                <label class="radio-inline">                    <input type="radio" name="WithExecuteTime" ng-value="\'WithExecuteTime\'" ng-disabled="!isEdit" ng-model="systemConfigs.deductionRevertMode">撤回记录在执行当天                </label>            </div>        </div>        <div class="edit-row" ng-if="isDeductionChargeEnabled">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowRefundAutoRevertDeduction"                       ng-disabled="!isEdit" />                <span>是否退费时自动撤销已执行划扣</span>                <span class="glyphicon glyphicon-question-sign"                      tooltip="启用后，退项目时，将已执行的划扣步骤自动撤回。"                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>            </label>        </div>        <div class="edit-row" ng-if="isDeductionChargeEnabled && isDelunCustomFeatureOpen">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.isShowAutoDeductionExecuteSwitchEnabled"                       ng-disabled="!isEdit" />                <span>是否显示划扣自动执行开关</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowWeixinBillOrder"                       ng-disabled="!isEdit" />                <span>收费完成是否发送微信通知</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.isEnableGiftCard"                       ng-disabled="!isEdit" />                <span>是否集成不记名卡</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowShareGiftCertificateInPatientRelations"                       ng-disabled="!isEdit" />                <span>是否开启共享所有卡券给亲友</span>            </label>        </div>        <div class="edit-row" style="margin-top:10px;">            <label class="control-label" style="margin-top:5px">欠费金额计入当天诊疗服务收入</label>            <div class="setting-content-wrap" style="margin-top:0px;margin-left:10px;display:inline-block;">                <label class="ares-radio-inline content-row-cell">                    <input type="radio" name="isChargeOverdueDisabled"                           ng-value="true" ng-disabled="!isEdit"                           ng-model="officeSetting.isOverdueAsIncomeEnabled">                    <span class="radioInput"></span>                    是                </label>                <label class="ares-radio-inline content-row-cell ">                    <input type="radio" name="isChargeOverdueDisabled"                           ng-value="false" ng-disabled="!isEdit"                           ng-model="officeSetting.isOverdueAsIncomeEnabled">                    <span class="radioInput"></span>                    否                </label>            </div>        </div>        <div class="edit-row" style="margin-top:10px;" ng-show="(officeSetting.paymentTypeUpgradeStatus == 2 || officeSetting.paymentTypeUpgradeStatus == 3)             && !officeSetting.isGiftCertificateInAdvanceEndabled">            <label class="control-label" style="margin-top:5px">卡券计入营业收入模式</label>            <span class="glyphicon glyphicon-question-sign"                  tooltip="该设置仅针对套餐券和可计使用次数的折扣券起效"                  tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">：</span>            <div class="setting-content-wrap" style="margin-top:0px;margin-left:10px;display:inline-block;">                <label class="ares-radio-inline content-row-cell">                    <input type="radio" name="isGiftCertificateInAdvanceEndabled"                           ng-value="true" ng-disabled="!isEdit || !isRoot || !isGiftCertificateBillingEnabled"                           ng-model="officeSetting.isGiftCertificateInAdvanceEndabled"                           ng-change="onChangeGiftCertificateInAdvance()">                    <span class="radioInput"></span>                    消费时计入                </label>                <label class="ares-radio-inline content-row-cell ">                    <input type="radio" name="isGiftCertificateInAdvanceEndabled"                           ng-value="false" ng-disabled="!isEdit || !isRoot || !isGiftCertificateBillingEnabled"                           ng-model="officeSetting.isGiftCertificateInAdvanceEndabled">                    <span class="radioInput"></span>                    销售时计入                </label>            </div>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.allowDeposit"                       ng-disabled="!isEdit" />                <span>储值卡支持冻结解冻</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isProviderPerformanceRechargeEnabled"                       ng-disabled="!isEdit" />                <span>充值储值卡 是否影响员工绩效</span>            </label>        </div>        <!--<div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isProviderPerformanceWithdrawEnabled"                       ng-disabled="!isEdit" />                <span>退费储值卡 是否影响员工绩效</span>            </label>        </div>-->        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.isStudentDefaultOrderDiscount"                       ng-disabled="!isEdit" />                <span>学生新建账单时启用默认整单折扣</span>            </label>            <label ng-show="systemConfigs.isStudentDefaultOrderDiscount">                <label for="studentDefaultOrderDiscount">默认整单折扣：</label>                <input id="studentDefaultOrderDiscount"                       style="width:100px;font-weight:normal;"                       kendo-numeric-text-box                       k-step="1" k-min="0" k-max="100"                       ng-disabled="!isEdit"                       k-on-change="onStudentDefaultOrderDiscountChange(kendoEvent)"                       k-ng-model="systemConfigs.studentDefaultOrderDiscount" />                <label class="control-label">%</label>            </label>        </div>        <div class="edit-row office-setting-group" ng-show="chargeItemAboutEnabled">            <div class="office-setting-content-block" style="border:none;margin-left: 5px;">                <div class="content-block-main">                    <style>                        .office-setting-content-block .list-item-add-btn {                            background: #00a6c9;                            border-radius: 12px;                            width: 180px;                            height: 26px;                            line-height: 26px;                            overflow: hidden;                            white-space: nowrap;                            text-overflow: ellipsis;                            position: relative;                            color: #fff;                            text-align: center;                            cursor: pointer;                        }                        .office-setting-content-block .list-item-del-btn {                            cursor: pointer;                        }                        .office-setting-content-block .list-item-input {                            width: 180px;                            height: 26px;                            border: 1px solid #00A6C9;                            background: #fff;                            border-radius: 12px;                            text-indent: 10px;                        }                            .office-setting-content-block .list-item-input:disabled {                                background: #d6d9df;                                border: none;                            }                    </style>                    <div class="setting-content-block-title" style="width:150px;">                        <span class="content-block-title-content block-row-cell">                            收费项目自由项                        </span>                    </div>                    <div class="setting-content-block-switch">                        <div class="block-row" ng-repeat="field in chargeItemFreeFields">                            <input type="text" class="list-item-input block-row-cell"                                   ng-model="field.itemValue" id="free-fields-{{$index}}"                                   ng-disabled="!isEdit"                                   placeholder="请输入自由项名称">                            <div class="block-row-cell" ng-show="isEdit">                                <span class="iconfont icon-shanchu list-item-del-btn" ng-click="onDeleteFreeField($index)"></span>                            </div>                        </div>                        <div class="block-row list-item-add-btn"                             ng-click="onAddFreeField($event)"                             ng-if="isEdit && chargeItemFreeFields.length < 3">                            新建自由项                        </div>                    </div>                </div>            </div>        </div>        <div style="margin-top:10px;padding-left:38px;">            <label class="control-label" style="margin-top:5px">预付款收费本金馈赠金使用方式：</label>            <div style="margin-top:0px;margin-left:10px;display:inline-block;">                <label class="radio-inline">                    <input type="radio" name="AdvancePaymentUsingRate" ng-value="\'PrincipalFirst\'" ng-disabled="!isEdit" ng-model="systemConfigs.advancePaymentUsingRate">本金优先                </label>                <label class="radio-inline">                    <input type="radio" name="AdvancePaymentUsingRate" ng-value="\'SameRate\'" ng-disabled="!isEdit" ng-model="systemConfigs.advancePaymentUsingRate">同比率                </label>            </div>        </div>        <div style="margin-top:10px;padding-left:38px;">            <label class="control-label" style="margin-top:5px">账单作废模式：</label>            <div style="margin-top:0px;margin-left:10px;display:inline-block;">                <label class="radio-inline">                    <input type="radio" name="CancelWithActionDate" ng-value="\'CancelWithActionDate\'" ng-disabled="!isEdit" ng-model="systemConfigs.pattern4CancellingOrder">作废记录记在作废当天                </label>                <label class="radio-inline">                    <input type="radio" name="CancelWithAtOrderDate" ng-value="\'CancelWithOrderDate\'" ng-disabled="!isEdit" ng-model="systemConfigs.pattern4CancellingOrder">作废记录记在原单制单当天                </label>            </div>        </div>        <div class="edit-row">            <label class="edit-checkbox" ng-show="hasAliPayAccount">                <input type="checkbox" ng-model="systemConfigs.allowAliPay"                       ng-disabled="!isEdit" />                <span>集成支付宝收款:</span>            </label>        </div>        <div style="margin-top:10px;padding-left:17px;">            <div style="margin-left:34px;" ng-include ng-show="systemConfigs.allowSetAli" src="getAliUploadUrl()"></div>            <div style="margin-left:34px;" ng-show="systemConfigs.allowSetAli">                <label class="control-label" style="margin-top:5px">AliAccount：</label>                <input class="form-control" ng-model="onlinePayAccount.aliAccount" ng-disabled="!isEdit" />            </div>            <div style="margin-left:34px;" ng-show="systemConfigs.allowSetAli">                <label class="control-label" style="margin-top:5px">AliPartnerId：</label>                <input class="form-control" ng-model="onlinePayAccount.aliPartnerId" ng-disabled="!isEdit" />            </div>            <div style="margin-left:34px;" ng-show="systemConfigs.allowSetAli">                <label class="control-label" style="margin-top:5px">AliApplyId：</label>                <input class="form-control" ng-model="onlinePayAccount.aliApplyId" ng-disabled="!isEdit" />            </div>        </div>        <div class="edit-row">            <label class="edit-checkbox" ng-show="hasAliPayAccount">                <input type="checkbox" ng-model="systemConfigs.allowWeixinPay"                       ng-disabled="!isEdit" />                <span>集成微信收款:</span>            </label>        </div>        <div style="margin-top:10px;padding-left:17px;" ng-show="systemConfigs.allowSetWeixin">            <div style="margin-left:34px;" ng-include src="getWeixinUploadUrl()"></div>            <div style="margin-left:34px;">                <label class="control-label" style="margin-top:5px">AppId：</label>                <input class="form-control" ng-model="onlinePayAccount.weixinAppId" ng-disabled="!isEdit" />            </div>            <div style="margin-left:34px;">                <label class="control-label" style="margin-top:5px">MchId：</label>                <input class="form-control" ng-model="onlinePayAccount.weixinMchId" ng-disabled="!isEdit" />            </div>        </div>        <div style="margin-top:10px;padding-left:27px;" ng-show="hasAliPayAccount">            <div style="margin-top:0px;margin-left:10px;display:inline-block;">                <label class="radio-inline">                    <input type="radio" name="enableAliF2FPay" ng-value="true" ng-disabled="!isEdit" ng-model="systemConfigs.enableAliF2FPay">使用支付宝/微信当面付                </label>                <label class="radio-inline">                    <input type="radio" name="enableAliF2FPay" ng-value="false" ng-disabled="!isEdit" ng-model="systemConfigs.enableAliF2FPay">使用支付宝/微信扫码付                </label>            </div>        </div>        <div class="edit-row">            <label class="edit-checkbox" ng-show="officeSetting.isUnipayEnabled">                <span>集成银联小白盒支付配置:</span>            </label>        </div>        <div style="margin-top:10px;padding-left:17px;" ng-show="officeSetting.isUnipayEnabled"             id="unipayAccountInfo">            <div style="margin-left:34px;">                <label class="control-label" style="margin-top:5px">商户Id：</label>                <input class="form-control" ng-model="onlinePayAccount.unipayAccountData.merchantCode" ng-disabled="!isEdit" />            </div>            <div style="margin-left:34px;">                <label class="control-label" style="margin-top:5px">终端Id：</label>                <input class="form-control" ng-model="onlinePayAccount.unipayAccountData.terminalCode" ng-disabled="!isEdit" />            </div>        </div>        <div class="edit-row">            <label class="edit-checkbox" ng-show="officeSetting.isUnipayEnabled ">                <span>集成银联二维码支付配置:</span>            </label>        </div>        <div style="margin-top:10px;padding-left:17px;" ng-show="officeSetting.isUnipayEnabled"             id="unipayAccountQrcodeInfo">            <div style="margin-left:34px;">                <label class="control-label" style="margin-top:5px">商户Id：</label>                <input class="form-control" ng-model="onlinePayAccount.unipayAccountData.qrcodeMerchantCode" ng-disabled="!isEdit" />            </div>            <div style="margin-left:34px;">                <label class="control-label" style="margin-top:5px">终端Id：</label>                <input class="form-control" ng-model="onlinePayAccount.unipayAccountData.qrcodeTerminalCode" ng-disabled="!isEdit" />            </div>        </div>        <div style="margin-top:10px;padding-left:38px;" ng-show="hasDianpingGroupBuy">            <label class="control-label" style="margin-top:5px">团购券核销方式：</label>            <div style="margin-top:0px;margin-left:10px;display:inline-block;">                <label class="radio-inline">                    <input type="radio" name="ConsumeByGiftPrice" ng-value="\'ConsumeByGiftPrice\'" ng-disabled="!isEdit" ng-model="systemConfigs.groupBuyCertificateConsumeBy">原价核销                </label>                <label class="radio-inline">                    <input type="radio" name="ConsumeBySalesPrice" ng-value="\'ConsumeBySalesPrice\'" ng-disabled="!isEdit" ng-model="systemConfigs.groupBuyCertificateConsumeBy">售价核销                </label>            </div>        </div>        <div id="sealing-config" style="margin-top:10px;">            <div class="edit-row">                <label class="edit-checkbox">                    <input type="checkbox" ng-model="systemConfigs.allowSealingTime"                           ng-disabled="!isEdit" />                    <span>默认使用财务日来统计财务报表</span>                </label>            </div>            <div style="padding-left:140px;">                <span>每日封账时间：</span>                <input id="startDatePicker" name=\'startDatePicker\' ng-disabled="!isEdit || !systemConfigs.allowSealingTime" type="text" class="form-control" kendo-time-picker k-ng-model="sealingTimePicker" k-interval="30" k-format="\'HH:mm:ss\'" k-parse-formats="[\'HH:mm:ss\']" style="width: 130px;">                <span class="k-invalid-msg" data-for="startDatePicker"></span>            </div>        </div>        <div style=\'margin-top:10px;\'>            <div class="edit-row" id=\'seling-config-date\'>                <label class="edit-checkbox">                    <input type="checkbox" ng-model="systemConfigs.isEnableFinanceDay"                           ng-disabled="!isEdit" ng-click="onSwitchFinanceDay()" />                    <span>财务月配置</span>                </label>                <div style="display:inline-block;vertical-align:middle">                    <span>当月</span>                    <select id="monthStartDate" class="form-control"                            ng-disabled="!isEdit || !systemConfigs.isEnableFinanceDay"                            ng-model="systemConfigs.financeDay"                            ng-options=\' itemDate for itemDate in monthList\'                            ng-change="onChangeFinanceDay()"                            style="width:80px;display: inline-block;">                        <option value=\'\'>1</option>                    </select>                    日 至                    <span>{{monthDescription}} {{nextMonthDateStr}}</span>                </div>            </div>            <div class="edit-row" style="margin-left: 132px;" ng-if="isDeductionChargeEnabled">                <label class="edit-checkbox">                    <input type="checkbox"                           ng-disabled="!isEdit || !systemConfigs.isEnableFinanceDay"                           ng-click="onChangeFinanceDayDeductionLimit()"                           ng-checked="!officeSetting.isHistoryFinanceDayDeductionEnabled" />                    <span>上个财务月结束</span>                    <select class="form-control" style="width:80px;display: inline-block;"                            ng-model="officeSetting.financeDayBuffer"                            ng-disabled="!isEdit || !systemConfigs.isEnableFinanceDay || isHistoryFinanceDayDeductionEnabled"                            ng-options=\' itemDate for itemDate in fullMonthList\'></select>                    <span> 天内，划扣步骤允许补执行和撤销</span>                </label>            </div>            <!--<div class="edit-row" style="margin-left: 132px;" ng-if="isDeductionChargeEnabled">                <label class="edit-checkbox">                    <input type="radio" ng-model="officeSetting.isHistoryFinanceDayDeductionEnabled"                           ng-disabled="!isEdit || !systemConfigs.isEnableFinanceDay"                           ng-value="true" />                    <span>允许补执行或撤销历史财务月的划扣步骤</span>                </label>            </div>-->        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.isRefundReasonEnabled"                       ng-disabled="!isEdit" />                <span>患者退费原因跟踪</span>                <span class="glyphicon glyphicon-question-sign"                      tooltip="启用后，可到基础项目进行配置数据；在发生账单退费/作废和储蓄卡退费时，可以选择配置的退费原因并在报表中进行展示"                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.isMemebershipGiftDefaultEnabled"                       ng-disabled="!isEdit" />                <span>收费是否默认使用会员权益</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox" style="display:inline-block;vertical-align:middle;">                <input type="checkbox" ng-model="systemConfigs.isChargeItemProviderUnique"                       ng-disabled="!isEdit" />                <span>是否收费项目人员唯一</span>            </label>            <label ng-show="systemConfigs.isChargeItemProviderUnique" style="margin:0 0 0 10px;display:inline-block;vertical-align:middle;">                <label for="chargeItemProviderRange" style="margin-top:5px;float:left;">可选范围：</label>                <select id="chargeItemProviders"                        ng-disabled="!isEdit"                        style="width:320px;float:left;" />            </label>        </div>        <div class="edit-row" ng-if="!isProfessional">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.isGiftCertDrawFromChargeEnable"                       ng-disabled="!isEdit" />                <span>是否开启收费发券功能</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isDecimalCountForChargeEnabled"                       ng-disabled="!isEdit" />                <span>收费数量允许设置为小数</span>            </label>        </div>        <!--<div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="systemConfigs.isShowChargeSellerEnabled"                       ng-disabled="!isEdit" />                <span>是否显示收费单销售人</span>            </label>        </div>-->        <div style="margin-top:10px;padding-left:38px;">            <label class="control-label" style="margin-top:5px" for="chargePayDateTime">收费审批单入账时间设置：</label>            <select id="chargePayDateTime" class="form-control"                    ng-disabled="!isEdit"                    style="width: 180px; display: initial;"                    ng-model="officeSetting.chargeOrderPayTimeRule">                <option value="1">提交审批时间</option>                <option value="2">审批通过时间</option>                <option value="3">收费时间</option>            </select>        </div>        <div class="edit-row">            <label style="text-indent:6px;">收费项目必填项：</label>            <label class="edit-checkbox">                <input type="checkbox" ng-model="baseDataConfig.chargeItemRequired.procedureCode"                       ng-disabled="!isEdit" />                <span>项目编码</span>            </label>        </div>        <div class="edit-row" ng-if="officeSetting.isYibaoGatewayEnabled">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isYibaoChargeDiagnoseRequired"                       ng-disabled="!isEdit" />                <span>是否医保收费诊断必填</span>            </label>        </div>            </fieldset>    <fieldset>        <legend>收费打印</legend>        <div style="margin-top:10px;padding-left:17px;padding-bottom:10px;">            <input type="checkbox" ng-model="systemConfigs.printMembershipBalance" ng-disabled="!isEdit" style="margin-left:20px" />打印储值卡余额        </div>        <div style="margin-left:34px;padding-bottom:10px;">            <form novalidate>                <div class="form-group">                    <label class="control-label" style="margin-top:5px">打印默认备注：</label>                    <input class="form-control" ng-model="systemConfigs.printChargeNotes" maxlength="30" ng-disabled="!isEdit" />                    <span ng-show="isEdit" ng-show="systemConfigs.printChargeNotes.length>0">已输入{{systemConfigs.printChargeNotes.length}}字</span>                </div>            </form>        </div>    </fieldset>    <fieldset>        <legend>随访配置</legend>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="isAutoFollowupRuleByChargeAmount" ng-disabled="!isEdit" />                <span>根据收费项目总金额较大项目创建随访计划</span>                <span class="glyphicon glyphicon-question-sign"                      tooltip="启用后，一笔收费单满足多条随访规则，则判定收费项目总金额最大的项目满足哪个自动随访规则创建相应的随访，若金额最大的也同时满足多个规则，则取排序靠前的。"                      tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isSendAdviceWhenAutoFollowupEnabled" ng-disabled="!isEdit" />                <span>自动创建随访计划时推送医嘱(触发条件为收费大类)</span>            </label>        </div>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.autoFollowupConfig.shouldCreateWhenExistFutureAppt" ng-disabled="!isEdit" />                <span>患者后续有预约，仍然按照自动随访规则创建随访计划</span>            </label>        </div>    </fieldset>    <fieldset>        <legend>消息通知配置</legend>        <div class="edit-row">            <div class="setting-title-wrap">                <label class="col-sm-3 control-label" style="padding-left:0px;width: 20%">是否允许使用免扰模式</label>                <div>                    <label class="radio-inline content-row-cell">                        <input type="radio" name="isMessageNotDisturbDisalbed" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isMessageNotDisturbDisalbed">是                    </label>                    <label class="radio-inline content-row-cell">                        <input type="radio" name="isMessageNotDisturbDisalbed" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isMessageNotDisturbDisalbed">否                    </label>                </div>            </div>        </div>        <div class="edit-row">            <div class="setting-title-wrap">                <label class="col-sm-3 control-label" style="padding-left:0px;width: 20%">是否允许清除消息</label>                <div>                    <label class="radio-inline content-row-cell">                        <input type="radio" name="isMessageClearAllDisalbed" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.isMessageClearAllDisalbed">是                    </label>                    <label class="radio-inline content-row-cell">                        <input type="radio" name="isMessageClearAllDisalbed" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.isMessageClearAllDisalbed">否                    </label>                </div>            </div>        </div>        <div class="edit-row">            <div class="setting-title-wrap">                <label class="col-sm-3 control-label" style="padding-left:0px;width: 20%">网络预约提醒是否允许“稍后提醒”</label>                <div>                    <label class="radio-inline content-row-cell">                        <input type="radio" name="isApptApplyDisabled" ng-value="false" ng-disabled="!isEdit" ng-model="officeSetting.messagePostponeConfig.isApptApplyDisabled">是                    </label>                    <label class="radio-inline content-row-cell">                        <input type="radio" name="isApptApplyDisabled" ng-value="true" ng-disabled="!isEdit" ng-model="officeSetting.messagePostponeConfig.isApptApplyDisabled">否                    </label>                </div>            </div>        </div>    </fieldset>    <fieldset>        <legend>影像设置</legend>        <div class="edit-row">            <label class="edit-checkbox">                <input type="checkbox" ng-model="officeSetting.isPacsViewerDefaultEnabled" ng-disabled="!isEdit" />                <span>使用PacsViewer作为默认影像浏览器</span>            </label>        </div>    </fieldset>    <div class="form-group" style="padding-left:20px;margin-top:30px;margin-left:50px;">        <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="save()">保存</button>        <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/tenant/views/handover/handover-charge-deduction-view.html','<div class="handover-charge-deduction-view enyo" ares-clean-kendo>    <style scoped>        .handover-charge-deduction-view .k-grid td {            text-align: left;        }        .handover-charge-deduction-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .handover-charge-deduction-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .handover-charge-deduction-view .handover-charge-deduction-search .search-item .k-input {            box-shadow: none;        }        .handover-charge-deduction-view .handover-charge-deduction-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .handover-charge-deduction-view .handover-charge-deduction-grid {            min-height: 300px;        }        .handover-charge-deduction-view .edit-button {            cursor: pointer;        }        .handover-charge-deduction-view .checkbox-box {            line-height: 32px;        }            .handover-charge-deduction-view .checkbox-box .ares-checkbox {                vertical-align: text-top;            }        .handover-charge-deduction-view label {            font-weight: normal;        }        .handover-charge-deduction-view .handover-charge-deduction-grid .k-grid-content td span.label {            margin-left: 5px;        }        .handover-charge-deduction-view .search-wrap.search-more-body {            background-color: #eff7ff;            padding-top: 8px;            height: auto;            text-indent: 5px;            border-top: 1px solid #D6D9DF;            margin-bottom: 5px;            margin-top: 10px;        }        .handover-charge-deduction-view .search-wrap .search-item {            display: inline-block;            vertical-align: middle;        }        .handover-charge-deduction-view .customer-clue-footer {            background: #f3f7f7;            height: 50px;        }            .handover-charge-deduction-view .customer-clue-footer .footer-oper .action-btn {                line-height: 50px;                margin-right: 5px;            }        .handover-charge-deduction-view .footer-oper .select-ele {            line-height: 50px;        }        .handover-charge-deduction-view .footer-oper .select-all {            margin-left: 10px;        }            .handover-charge-deduction-view .footer-oper .select-all .select-text {                margin-left: 3px;            }        .handover-charge-deduction-view .footer-oper .selected-text {            margin-right: 10px;        }        .search-more-body {            position: relative;        }            .search-more-body .search-group .search-item label {                margin-right: 5px;                margin-bottom: 0;            }            .search-more-body .search-group {                margin-right: 10px;                margin-bottom: 10px;            }                .search-more-body .search-group .search-item-input {                    text-indent: 0;                    width: 140px;                }            .search-more-body .icon-btn {                position: absolute;                right: 10px;                top: 15px;            }                .search-more-body .icon-btn i {                    font-size: 17px;                    color: #9397a2;                    cursor: pointer;                }        .handover-charge-deduction-search .search-item-title {            float: left;            padding-top: 5px;            padding-right: 10px;        }        .handover-charge-deduction-search .search-item-input {            float: left;        }    </style>    <div class="handover-charge-deduction-search clearfix">        <div class="search-group pull-left clearfix" style="margin-right: 10px;">            <div class="search-item search-item-input">                <office-selector class="pull-left" ng-if="isGroup"                                 office-tree-data="officeTreeData"                                 select-mode="officeOnly"                                 selected-office-ids="selectedOfficeIds"                                 on-selected="onOfficeSelected(selectedOffices)"></office-selector>            </div>        </div>        <!--       <div class="search-group pull-left clearfix" style="margin-right: 10px;">                  <div class="search-item search-item-input">                      <input id="handoverTypeInput" class="form-control" style="width: 140px;" ng-show = "false"/>                  </div>              </div> -->        <div class="search-item pull-left" style="margin-right: 10px;">            <div class="search-item-title" style="margin-top: -10px">                <div>                    <label class="checkbox inline" style="font-weight:normal;margin-left:20px;display:inline">                        <input type="radio" name="providerShow" ng-model="criteria.isShow" ng-value="true" style="margin-left:-15px !important;" ng-change="changeDoctorInput()">在职                    </label>                </div>                <div>                    <label class="checkbox inline" style="font-weight: normal; margin-left: 20px; display: inline; ">                        <input type="radio" name="providerShow" ng-model="criteria.isShow" ng-value="false" style="margin-left:-15px !important;" ng-change="changeDoctorInput()">离职                    </label>                </div>            </div>            <div class="search-item search-item-input">                <input id="executionDoctorInput" class="form-control" style="width: 140px;" />            </div>        </div>        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item-title">                <label>开单日期</label>            </div>            <div class="search-item search-item-input">                <!--      <input id="payDateTimeInput" type="text" kendo-date-picker k-ng-model="criteria.payDateTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 140px;"> -->                <timer-range-picker time-range-date="timeSpan"></timer-range-picker>            </div>        </div>        <div class="search-item pull-right">            <span class="btn more-search enyo-text-primary" style="line-height: 32px;" ng-click="switchMode()">高级搜索<i class="fa fa-caret-down"></i></span>        </div>        <div class="search-item pull-left">            <button type="button" class="btn btn-primary" ares-slow-click="search()">查询</button>            <button type="button" class="btn btn-default" ng-click="refresh()" style="margin-left: 0;">清空</button>        </div>    </div>    <div class="search-wrap search-more-body clearfix" ng-show="searchMode">        <div class="icon-btn" ng-click="searchMode = false;"><i class="iconfont icon-guanbi"></i></div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>患者姓名</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" id="patientNameInput" ng-model="criteria.patientName" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>病历号</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" id="privateIdInput" ng-model="criteria.privateId" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item search-item-input">                <input id="startAgeInput" class="form-control" style="width: 140px;margin-right:0px;" />            </div>            <div class="search-item" style="margin-right:10px;">                <label>至</label>            </div>            <div class="search-item search-item-input">                <input id="endAgeInput" class="form-control" style="width: 140px;" />            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item search-item-input">                <input id="sexInput" class="form-control" style="width: 140px;" />            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item search-item-input">                <input id="consultantInput" class="form-control" style="width: 140px;" />            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>项目名称</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" id="chargeItemNameInput" ng-model="criteria.chargeItemName" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>步骤名称</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" id="stepNameInput" ng-model="criteria.stepName" placeholder="请输入">            </div>        </div>    </div>    <div style="margin-top: 10px;" ng-show="chargeDeductionList">        <div class="handover-charge-deduction-grid grid-has-checkbox grid-not-has-select-all" id="chargeDeductionGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="criteria.pageIndex" ng-change="onPageChanged(criteria.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                 class="pagination new-page-color" boundary-links="true" style="margin: 0;">            </div>            <ul class="pagination new-page-color pagination-to-page" style="margin: 0">                <li class="disabled">                    <a style="padding: 0; padding-left: 5px; padding-right: 5px;">每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="criteria.pageSize" style="width: 63px;" k-on-change="onPageSizeChanged(criteria.pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin: 0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>        <div class="customer-clue-footer">            <div class="footer-oper clearfix">                <div class="pull-left select-all select-ele">                    <div class="select-box">                        <input type="checkbox" class="ares-checkbox" ng-model="selectTotalCount" ng-click="onAllCheckboxClicked(selectTotalCount)" style="vertical-align: text-top;">                        <span class="select-text">全选                        </span>                    </div>                </div>                <div class="pull-right action-btn">                    <span class="selected-text">已选择 <span class="enyo-text-danger" ng-bind="selectedRows || 0"></span>条</span>                    <button class="btn btn-warning" ng-click="allocationChargeDeduction()">分配</button>                </div>            </div>        </div>    </div>    <div style="margin-top:10px;max-width:1600px;overflow-x:auto" ng-if="!chargeDeductionList">        <h2 style="margin-left:30px;">请先查询需要交接的患者！</h2>    </div></div>');templateCache.put('/app/tenant/views/handover/handover-patient-view.html','<div class="handover-patient-view enyo" ares-clean-kendo ng-style="{\'height\' : isAres3 ? \'calc(100vh - 130px)\' : \'auto\'}"><style scoped>        .handover-patient-view .k-grid td {            text-align: left;        }        .handover-patient-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .handover-patient-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .handover-patient-view .handover-patient-search .search-item .k-input {            box-shadow: none;        }        .handover-patient-view .handover-patient-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .handover-patient-view .handover-patient-grid {            min-height: 300px;        }        .handover-patient-view .edit-button {            cursor: pointer;        }        .handover-patient-view .checkbox-box {            line-height: 32px;        }        .handover-patient-view .checkbox-box .ares-checkbox {            vertical-align: text-top;        }        .handover-patient-view label {            font-weight: normal;        }        .handover-patient-view .handover-patient-grid .k-grid-content td span.label {            margin-left: 5px;        }        .handover-patient-view .search-wrap.search-more-body {            background-color: #eff7ff;            padding-top: 8px;            height: auto;            text-indent: 5px;            border-top: 1px solid #D6D9DF;            margin-bottom: 5px;            margin-top: 10px;        }        .handover-patient-view .search-wrap .search-item {            display: inline-block;            vertical-align: middle;        }        .handover-patient-view .customer-clue-footer {            background: #f3f7f7;            height: 50px;        }        .handover-patient-view .customer-clue-footer .footer-oper .action-btn {            line-height: 50px;            margin-right: 5px;        }        .handover-patient-view .footer-oper .select-ele {            line-height: 50px;        }        .handover-patient-view .footer-oper .select-all {            margin-left: 10px;        }        .handover-patient-view .footer-oper .select-all .select-text {            margin-left: 3px;        }        .handover-patient-view .footer-oper .selected-text {            margin-right: 10px;        }        .search-more-body {            position: relative;        }        .search-more-body .search-group .search-item label {            margin-right: 5px;            margin-bottom: 0;        }        .search-more-body .search-group {            margin-right: 10px;            margin-bottom: 10px;        }        .search-more-body .search-group .search-item-input {            text-indent: 0;            width: 140px;        }        .search-more-body .icon-btn {            position: absolute;            right: 10px;            top: 15px;        }        .search-more-body .icon-btn i {            font-size: 17px;            color: #9397a2;            cursor: pointer;        }        .handover-patient-search  .search-item-title        {            float: left;            padding-top: 5px;            padding-right: 10px;        }        .handover-patient-search  .search-item-input        {            float: left;        }        .handover-patient-search .input-group        {            width: 108px !important;        }        .handover-patient-search .provider-search-dropdown-popover        {            width: 108px !important;        }    </style>    <div class="handover-patient-search clearfix">        <div class="search-group pull-left clearfix" style="margin-right: 10px;">            <label style="margin-top:5px;">患者创建时间</label>        </div>        <div class="search-group pull-left clearfix" style="margin-right: 10px;">            <div class="search-item search-item-input">                <timer-range-picker time-range-date="timeSpan"></timer-range-picker>            </div>        </div>        <div class="search-group pull-left clearfix" style="margin-right: 10px;">            <div class="search-item search-item-input">                <office-selector class="pull-left" ng-if="isGroup"                                 office-tree-data="officeTreeData"                                 select-mode="allSeparate"                                 selected-office-ids="selectedOfficeIds"                                 on-selected="onOfficeSelected(selectedOffices)"></office-selector>            </div>        </div>        <!--   <div class="search-group pull-left clearfix" style="margin-right: 10px;">        <div class="search-item search-item-input">            <input id="handoverTypeInput" class="form-control" ng-model="criteria.handoverType" style="width: 120px;" />        </div>    </div> -->        <div class="search-item pull-left" style="margin-right: 10px;">            <provider-search-dropdown search-place-holder="责任医生" selected-provider-id="criteria.dutyDoctorId" include-inactive-provider="true" search-job="医生" on-select="refreshGrid()">            </provider-search-dropdown>        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <provider-search-dropdown search-place-holder="咨询师" selected-provider-id="criteria.consultantId"  include-inactive-provider="true" search-job="咨询师" on-select="refreshGrid()">            </provider-search-dropdown>        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <provider-search-dropdown search-place-holder="网电咨询师" selected-provider-id="criteria.onlineConsultantId"  include-inactive-provider="true" search-job="网电咨询师" on-select="refreshGrid()">            </provider-search-dropdown>        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <provider-search-dropdown search-place-holder="专属客服" selected-provider-id="criteria.attendantId" include-inactive-provider="true" search-job="专属客服" on-select="refreshGrid()" >            </provider-search-dropdown>        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <provider-search-dropdown search-place-holder="专属顾问" selected-provider-id="criteria.advisorId" include-inactive-provider="true" search-job="专属顾问" on-select="refreshGrid()" >            </provider-search-dropdown>        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <provider-search-dropdown search-place-holder="开发人员" selected-provider-id="criteria.developerId" include-inactive-provider="true" search-job="开发人员" on-select="refreshGrid()" >            </provider-search-dropdown>        </div>        <div class="search-item pull-left" style="margin-right:10px;">            <provider-search-dropdown search-place-holder="初诊医生" selected-provider-id="criteria.firstVisitDoctorId" include-inactive-provider="true" search-job="初诊医生" on-select="refreshGrid()" >            </provider-search-dropdown>        </div>        <div class="search-item pull-right">            <span class="btn more-search enyo-text-primary" style="line-height: 32px;" ng-click="switchMode()">高级搜索 <i class="fa fa-caret-down"></i></span>        </div>        <div class="search-item pull-left">            <button type="button" class="btn btn-primary" ares-slow-click="search()">查询</button>            <button type="button" class="btn btn-default" ng-click="refresh()" style="margin-left: 0;">清空</button>        </div>    </div>    <div class="search-wrap search-more-body clearfix" ng-show="searchMode">        <div class="icon-btn" ng-click="searchMode = false;"><i class="iconfont icon-guanbi"></i></div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>患者姓名</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" id="patientNameInput" ng-model="criteria.patientName" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>病历号</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" id="privateIdInput" ng-model="criteria.privateId" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item">                <label>患者来源</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control" ng-model="criteria.sourceType" placeholder="请输入">            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item search-item-input">                <input id="startAgeInput" class="form-control" style="width: 140px;margin-right:0px;" />            </div>            <div class="search-item" style="margin-right:10px;">                <label>至</label>            </div>            <div class="search-item search-item-input">                <input id="endAgeInput" class="form-control" style="width: 140px;" />            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item search-item-input">                <input id="sexInput" class="form-control" style="width: 140px;" />            </div>        </div>        <div class="search-group pull-left clearfix">            <div class="search-item search-item-input">                <input id="createUserInput" class="form-control" style="width: 140px;" />            </div>        </div>    </div>    <div style="margin-top: 10px;" ng-show="handoverPatientList">        <div class="handover-patient-grid grid-has-checkbox grid-not-has-select-all" id="patientGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="criteria.pageIndex" ng-change="onPageChanged(criteria.pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                 class="pagination new-page-color" boundary-links="true" style="margin: 0;">            </div>            <ul class="pagination new-page-color pagination-to-page" style="margin: 0">                <li class="disabled">                    <a style="padding: 0; padding-left: 5px; padding-right: 5px;">每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="criteria.pageSize" style="width: 63px;" k-on-change="onPageSizeChanged(criteria.pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin: 0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>        <div class="customer-clue-footer">            <div class="footer-oper clearfix">                <div class="pull-left select-all select-ele">                    <div class="select-box">                        <input type="checkbox" class="ares-checkbox" ng-model="selectTotalCount" ng-click="onAllCheckboxClicked(selectTotalCount)" style="vertical-align: text-top;">                        <span class="select-text">全选                        </span>                    </div>                </div>                <div class="pull-right action-btn">                    <span class="selected-text">已选择 <span class="enyo-text-danger" ng-bind="selectedRows || 0"></span>条</span>                    <button class="btn btn-warning" ng-click="allocationPatient()">分配</button>                </div>            </div>        </div>    </div>    <div style="margin-top:10px;max-width:1600px;overflow-x:auto"  ng-if="!handoverPatientList">        <h2 style="margin-left:30px;">请先查询需要交接的患者！</h2>    </div></div>');templateCache.put('/app/tenant/views/office-setting/office-setting-business-rule-view.html','<div class="office-setting-business-rule-wrap">    <office-setting-edit-starter-view on-start-edit="onStartEdit()"                                      on-save-edit="onSaveEdit()"                                      on-cancel-edit="onCancelEdit()"></office-setting-edit-starter-view>    <div class="office-setting-group">        <office-setting-appt-business-rule-view></office-setting-appt-business-rule-view>    </div>    <div class="office-setting-group">        <office-setting-charge-business-rule-view></office-setting-charge-business-rule-view>    </div></div>');})();